|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming multiple XML files into one file
Chad Chelius wrote:
Hi
> The <movie> element is the element within each of the files that I am
> referencing that I want to "pull" into the new XML file. Does that
> make sense?
So if I understand well, you want:
<xsl:for-each select="
document(document('list.xml')/files/file)/story">
<movie>
<xsl:copy-of select="."/>
</movie>
</xsl:for-each>
instead of:
<xsl:template match="movie">
<xsl:copy-of select="
document(document('list.xml')/files/file)/story"/>
</xsl:template>
Regards,
--drkm
___________________________________________________________________________
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






