Subject: Re: [xsl] How to transform multiple XML docs with XSLT 2.0 into single doc From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Wed, 23 Jun 2010 08:28:20 +0100 |
On 23 June 2010 04:37, Jack Bush <netbeansfan@xxxxxxxxxxxx> wrote: > <strong>World Cup Team:</strong> > <br clear="none" /> > <a shape="rect" href="http://www.abc.com/team/brasil.html?aid=427231" >Brasil</a> (30 goals) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/argentina.html?aid=427231" >Argentina</a>(25 goals) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/Germany.html?aid=427231" >Germany</a>(22 goals) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/usa.html?aid=427231" >United States of America</a>(15 goals) Call the above doc1 ^^^ > <strong>World Cup Player:</strong> > <br clear="none" /> > <a shape="rect" href="http://www.abc.com/team/brasil.html?aid=427231" >Brasil</a> (250 players) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/argentina.html?aid=427231" >Argentina</a>(500 players) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/Germany.html?aid=427231" >Germany</a>(350 players) > <br clear="none" /> > <a shape="rect" href=" www.abc.com/team/usa.html?aid=427231" >United States of America</a>(300 players) > <br clear="none" /> Call the above doc2 ^^^^ > Desire output > <team>Brasil (250 players with 30 goals)<team> > <team>Argentina (500 players with 25 goals)<team> > <team>Germany (350 players with 22 goals)<team> > <team>USA (300 players with 15 goals)<team> 1. Transform doc1 with the XSLT. 2. Within that XSLT, reference doc2 using the doc() function. 3. When generating the <team> output for doc1, pull in the relevant information from doc2. -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to transform multiple, Jack Bush | Thread | Re: [xsl] How to transform multiple, Andriy Gerasika |
RE: [xsl] some XPath please ?, Fabien Tillier | Date | Re: [xsl] some XPath please ?, Sheila Ellen Thomson |
Month |