|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ascii end-of-file character output in an XSL file
Jim Neff writes: > How would I generate the ASCII character "1A", which is an end-of-file > character. No, in ASCII that is Control-Z aka SUB (SUBSTITUTE in Unicode). End of file is Control-D aka EOT (END OF TEXT) in Unicode. Neither of those characters is allowed in XML documents and thus is not allowed in XSLT stylesheets. Whether they occur in the document/ stylesheet's encoding or you represent them via character references ( and ), they are not allowed: http://www.w3.org/TR/2004/REC-xml-20040204/#charsets http://www.w3.org/TR/2004/REC-xml-20040204/#sec-references > I know how to generate the carrage returns and line feed characters along > with spaces. > > Like this: <xsl:text>
</xsl:text> > > But I cannot find any documentation on how to do this with the "1A" > character. Is there a way in XSLT to output an external unparsed entity (which would contain the disallowed character)? -- Kevin Rodgers
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








