| 
 
Subject: Re: [xsl] xsl:sort descending causes attribute nodes to be  created after children, causing an error From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 16 Jan 2007 14:39:48 +0100  | 
yes that's the expected behaviour (although of course it's nothing really to do with the xsl:sort, a more direct case is
<x>
hello
<xsl:attribute name="x"/>
It's required to allow an implemenation to start serialising the result
tree before processing is finished. If you were allowed to generate an
entire document then generate a version="2" attribute as the last node
before closing teh document element, the processor would always haveto
buffer the entire result tree in memory just in case the system did
this.
Cheers, -- Abel Braaksma
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] xsl:sort descending cause, David Carlisle | Thread | RE: [xsl] xsl:sort descending cause, Michael Kay | 
| RE: [xsl] xsl:sort descending cause, Michael Kay | Date | Re: [xsl] xsl:sort descending cause, Abel Braaksma | 
| Month |