Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes XML and Related Technologies and the fly likes error regarding namespace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "error regarding namespace" Watch "error regarding namespace" New topic
Author

error regarding namespace

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39
Hi,

I am uisng following snippet in xsl

<xsl:attribute name = "stringvalue" ><xsl:value-of select="substring-after(@string," /></xsl:attribute>

When i am uisng this i am getting following error

javax.xml.transform.TransformerException: Prefix must resolve to a namespace: ..

The above code snippet is correct??if not how to get string tokenized values??

Regards,
Narvish
 
 
subject: error regarding namespace
 
Similar Threads
XSLT needed
XSLT - how to tell do not sort in any order
XSL Transformation Error
XSL Problem
Generating CDATA through XSLT