[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Literal Text
Title: RE: Literal Text
> Given this XSL:
If it's of any interest, SAXON's "almost-XSL" processor does allow you to produce any stream of characters, including XML, HTML, badly-formed-XML, and things-that-aren't-XML-at-all. If you have a valid reason for wanting the characters "</JPanel>" in your output, you can do it in two ways in SAXON: 1: <xsl:tag>/JPanel</xsl:tag> or 2: <xsl:text saxon:escape="no"></JPanel></xsl:text> The former approach is there primarily to handle the case where you do want to output well-formed XML, but you have to suppress compile-time checking to achieve it (rather like a cast). An example would be: <xsl:if test=".[first-of-type()]">
The second approach is there primarily to handle the case where the output is not *ML at all, e.g. it might be a CSV file. Mike Kay
|
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
|