xsl-list
[Top] [All Lists]

Re: [xsl] Outputting White Space Only Nodes from Variables

2021-02-22 07:19:53
I also found using @select instead of whitespace only content of <xsl:variable> 
did the job. (Thus I suspect the problem is on reading in and parsing the XSLT 
document the XML parser is dropping that whitespace as insignificant.)

________________________________

I tried,
<xsl:variable name="generatedTextAfter" as="xs:string?" select=" ' '
"/>
and got output.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>