Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Transforming multiple XML files into one file [Thread Next] Re: [xsl] Transforming multiple XML files into one fileTo: Date: 7/5/2006 3:23:00 PM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
