& in XSL parameters
-
I send to the xsl string parameter as strPathFiles = "C:\Documents and Settings.." args.AddParam("strPathFiles", "", strPathFiles) Me.myXslSrcTransform.Transform(oXPathNav, args, swContent, Nothing) '(This is vb .Net code) I want to use it in tag as src attribute: myDir\myFile.gif but the xsl parses it to - "C:\Documents and Settings" What string do I need to send to the xsl that will not be parsed, or else, - How can I force the xsl to not parse the string? Thanks. Atara
-
I send to the xsl string parameter as strPathFiles = "C:\Documents and Settings.." args.AddParam("strPathFiles", "", strPathFiles) Me.myXslSrcTransform.Transform(oXPathNav, args, swContent, Nothing) '(This is vb .Net code) I want to use it in tag as src attribute: myDir\myFile.gif but the xsl parses it to - "C:\Documents and Settings" What string do I need to send to the xsl that will not be parsed, or else, - How can I force the xsl to not parse the string? Thanks. Atara
Maybe the disbale-output-escaping Attribute in xsl:value-of will help.
-
Maybe the disbale-output-escaping Attribute in xsl:value-of will help.
-
Maybe the disbale-output-escaping Attribute in xsl:value-of will help.
I tried links_files\ref2_books.gif
myDir\myFile.gif
In the
, the string is exactly as I want it, but in the I still get - "C:\Documents and Settings" Maybe disable-output-escaping has no effect in because it might cause illegal-xml . Any other suggestions? Thanks, Atara
-
I tried links_files\ref2_books.gif
myDir\myFile.gif
In the
, the string is exactly as I want it, but in the I still get - "C:\Documents and Settings" Maybe disable-output-escaping has no effect in because it might cause illegal-xml . Any other suggestions? Thanks, Atara
I just tried to reproduce your problem, but I get  even without using "disable-output-escaping". Do you use a special encoding or xsl:output?
-
I just tried to reproduce your problem, but I get  even without using "disable-output-escaping". Do you use a special encoding or xsl:output?
In the xsl file, I use It all started when I discovered that I have a problem when my path contains special unicode chars, so I tried to replace all non-Alpha-Numeric characters with their corresponding html entities. so in VB .Net I get the unicodePath, I replace the characters I want, and I send it as parameters to the XSL. If there is a simpler way, I would like to know about it... Thanks Atara
-
In the xsl file, I use It all started when I discovered that I have a problem when my path contains special unicode chars, so I tried to replace all non-Alpha-Numeric characters with their corresponding html entities. so in VB .Net I get the unicodePath, I replace the characters I want, and I send it as parameters to the XSL. If there is a simpler way, I would like to know about it... Thanks Atara