I've got an XSL template that outputs text as opposed to XML.
In this text, I need to include ASCII character 0x10 in certain position.
I understand this character is not allowed in an XML document, but I'm going to output text, so why am I not allowed to use it anyway?
I also understand it will not be possible to put this character literally into the template, neither within a CDATA
section nor as 
. But why does on-the-fly generation not work either? I tried, for instance, to define a function that returns this char and used it as <xsl:value-of select="z:get_char(16)"/>
but that produces an Invalid character exception either.
Is there a way?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…