|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Using value-of to extract non-escaped characte
Ralph Holz <Ralph dot Holz at unique dot com> wrote:
> >In general, XSLT processors can handle these caracters.
> >I guess you tried to build an element node and assigned
> >one of the suspect values to its name. Can you post the
> >relevant XSLT snippets where the errors occur?
>
> Sure, but I'll post all the code and the XML file. I hope that it is
> readable on your e-mail clients.
>
> I don't get a line where the error occurs, sorry.
>
> ========= xsl
>
>
======================================================================
[snip]
> <xsl:variable
> name="value"><xsl:value-of select="value" /></xsl:variable>
[snip]
> <xsl:attribute
> name="{$value}"><xsl:value-of select="value" /></xsl:attribute>
This is the place of the error and the error is exactly the one
predicted by Joerg -- you're trying to create an attribute with a name,
which does not obey the allowed syntax for a QName -- in your case it
contains characters like "#", "=", " ", or " ' ".
Probably you meant just:
> <xsl:attribute
> name="value"><xsl:value-of select="value" /></xsl:attribute>
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








