Re: [xsl] Transforming multiple XML files into one file

Subject: Re: [xsl] Transforming multiple XML files into one file
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 5 Jul 2006 17:22:32 +0200 (CEST)
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

Current Thread