-----Original Message-----
From: Nicholas Shanks [mailto:contact(_at_)nickshanks(_dot_)com]
<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="{(_at_)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