|
Subject: Re: [xsl] Outputting from more than one source From: "Gustavo Moreira" <moreirag@xxxxxxxxxx> Date: Sat, 12 Oct 2002 20:40:34 -0300 |
Yes, but what if there are three or more documents?
This, for instance, would this work?:
xsl:apply-templates select="/clients_ora/reg |
document('other.xml')/clients_sqlsrv/reg |
document('another.xml')/clients_db2/reg">
<xsl:sort select="name"/>
</xsl:apply-templates>
I am using this:
<xsl:apply-templates
select="document('clients_sqlsrv.xml')//clients_sqlsrv/reg |
document('clients_ora.xml')//clients_ora/reg">
<xsl:sort select="name"/>
</xsl:apply-templates>
...and it doesn't work because it brings first all the clients from the 1st
file (ordered), then it follows with all the clients from the 2nd file
(ordered).
What I want is all clients from all files ordered, no matter what file they
come from.
Gustavo Moreira
mailto:gustavo@xxxxxxxxxx
"And in the end the love you take is equal to the love you make"
(Lennon-McCartney)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Outputting from more than, Joerg Heinicke | Thread | Re: [xsl] Outputting from more than, Joerg Heinicke |
| Re: [xsl] Eliminating duplicate nod, Joerg Heinicke | Date | Re: [xsl] Outputting from more than, john liao |
| Month |