Subject: Re: [xsl] xslt2 complex content sequences From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 5 Sep 2005 19:11:00 +0100 |
> Saxon compiles this XQuery into code equivalent to: haha, thanks as you may have seen by now, I came to that myself in the end as well. > You could of course convert all the values to text nodes "by hand" using > xsl:value-of, which would eliminate all automatic spacing. That would seem > more natural in XSLT. Yes, although as you may guess, the xslt I have in mind isn't exctly being produced "by hand". It would mean stepping through each sequence and testing at runtime whether the generated item was atomic and if so stick it in a text node. I think I'll stick with the empty xsl:text thanks, especially as you say that's what saxon is doing. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xslt2 complex content seq, Michael Kay | Thread | [xsl] Nested Blocks including inlin, Kevin Frey |
RE: [xsl] xslt2 complex content seq, Michael Kay | Date | Re: [xsl] Conditional merge of 2 XM, Joris Gillis |
Month |