xsl-list
[Top] [All Lists]

Re: Backslash Problem

2003-01-24 02:53:18

when using the <xsl:value-of> the backslashes are either removed or
interpreted as an escape sequence 

No, \ is not special at all in XSLT it is treated as a normal character.

In the above example the node <name>
will be displayed as :

Well that depends on what you are using to display. (It doesn't look
like html) If you are using a display language in which \ is a special
character then you just need to generate the required escape sequence to
print a \ but that's a question for your (unspecified) display language,
not for xslt.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>