Subject: RE: [xsl] Whitespace between nodes From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Thu, 13 May 2004 00:10:20 +0200 |
> -----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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Whitespace between nodes, Nicholas Shanks | Thread | Re: [xsl] Whitespace between nodes, Nicholas Shanks |
RE: Re: [xsl] Whitespace between no, cknell | Date | Re: [xsl] Concatenating multiple in, G. Ken Holman |
Month |