Subject: RE: [xsl] Special letters in XML - list ? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 22 Jul 2005 19:34:47 +0100 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Special letters in XML - lis, Karl Koch | Thread | Re: [xsl] Special letters in XML - , Mukul Gandhi |
[xsl] Re: Merging multiple xmls int, iwantto keepanon | Date | RE: [xsl] a href="body=capture text, Michael Kay |
Month |