|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Whitespace between nodes
> -----Original Message----- > From: Nicholas Shanks [mailto:contact@xxxxxxxxxxxxxx] <snip /> > So only Libxslt behaves as I would hope, but the others do not do > anything against the rules. Indeed. indent="yes" simply means that the processor *may* add additional whitespace, nothing more. > I just want to know how to wrap the q > elements in a "dont-insert-whitespace" instruction. <q><a href="..">Text</a></q> ? Forget about that always appearing as you hope. As a further illustration: as it happens your XSL code is the same as <q> <xsl:choose> <xsl:when test="@href != ''"> <a href="{@href}">...</a> </xsl:when> ... </xsl:choose> </q> Would you agree that, in this case, it should be: <q> <a href="...">...</a> </q> ? Suppose a processor performs the indentation of the result tree in a final step, how is it supposed to distinguish between the results of your code and those of the rewrite above? HTH! Greetz, Andreas
|
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








