encoding $ character for wml output via xsl:value-of

Subject: encoding $ character for wml output via xsl:value-of
From: Dweed@xxxxxxxxxxxx
Date: Fri, 1 Sep 2000 12:28:59 -0400
WML syntax uses the $ (dollar sign) for de-referencing a variable.  To
display the character, $$ must be specified, otherwise most WML browsers
return an error.  If an xml file containing a $ in a node is transformed via
XSL (using the xsl:value-of statement) to produce WML, the $ is output as a
$.  Other characters such as &, <, " are output in the encoded form.  Does a
special encoding scheme exist to force the output of a $ in encoded format?
Does some other mechanism exist to allow character transformations to be
customized within an xsl:value-of operation?  Pre-processing the xml file is
an issue as the vast majority of xml inputs do not contain a $.  Post
processing the transformed output is also an issue as the output does
contain WML variable references using the $.  


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


Current Thread