RE: [xsl] Outputting from more than one source

Subject: RE: [xsl] Outputting from more than one source
From: "Kevin Collins" <kcollins@xxxxxxx>
Date: Mon, 14 Oct 2002 06:29:20 -0400
Oops. If you move the sort element to the second template then I guess
you'd have to put it inside a for-each. Something like this:

<xsl:template match="/">
  select="document('clientes_ora.xml')/clientes_ora/registro |

<xsl:template match="registro">
 <xsl:for-each select="*">
  <xsl:sort select="nome"/>
  <b><xsl:number value="position()"/>-<xsl:value-of select="nome"/></b>
  <xsl:value-of select="endereco"/>-<xsl:value-of select="cidade"/>

> Gustavo,
> Not sure if this would make a difference, but try moving the 
> sort element from the first template to the second. 
> Kevin  

 XSL-List info and archive:

Current Thread