|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Special letters in XML - list ?
> from here I found out that XSLT removes special letters put > directly into > the XSLT file. Instead one has to insert thoese lettter in a > special form > (like 
 for a new line, etc.). It might give that impression, but you need to understand the processing model in more detail. Remember first that both the source document and the stylesheet are first processed by an XML parser. The XML parser performs certain operations such as normalization of line endings, normalization of attribute values, and expansion of character and entity references. Then the XSLT processor does some additional processing to remove whitespace text nodes. In the source document, all whitespace text nodes selected by xsl:strip-space are removed. In the stylesheet, all whitespace text nodes other than those contained by xsl:text are removed. Then your stylesheet executes to produce a result tree. Then your result tree is serialized. Each of these processes performs certain manipulations on your data, and to understand how the output relates to the input it's not sufficient to just give you a list of "special letters". Michael Kay http://www.saxonica.com/
|
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








