[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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="/"> <xsl:apply-templates select="document('clientes_ora.xml')/clientes_ora/registro | document('clientes_sqlsrv.xml')/clientes_sqlsrv/registro"> </xsl:apply-templates> </xsl:template> <xsl:template match="registro"> <xsl:for-each select="*"> <xsl:sort select="nome"/> <b><xsl:number value="position()"/>-<xsl:value-of select="nome"/></b> <br/> <xsl:value-of select="endereco"/>-<xsl:value-of select="cidade"/> <br/><br/> </xsl:for-each> </xsl:template> > 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: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Outputting from more than, Kevin Collins | Thread | RE: [xsl] Outputting from more than, Américo Albuquerque |
RE: [xsl] Hierearchy navigation in , Yates, Danny (ANTS) | Date | RE: [xsl] Error xsl:param may not b, Vasu Chakkera |
Month |