[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xslt processing XML file by applying multiple transformation


Subject: Re: [xsl] xslt processing XML file by applying multiple transformation
From: "GavinChan" <tseug123@xxxxxxx>
Date: Wed, 12 Jan 2005 13:57:00 +0800

hi, uap001#!

	I think you could use document.
 
 <xsl:variable name="xml_file1" select="document(A.xml)"/>

and then do what you want to do with variable xml_file1

<xsl:value-of select="$xml_file1/xxx/xxx"/>

<xsl:for-each select="$xml_file1/xxx[@someAtrribe=xxx]">
...
</xsl:for-each>
	

======= 2005-01-12 09:22:09 You wrote#:=======

>Hello,
>I have an XML document that i need to transform into
>another XML document. To do that, I need to first
>tranform the original XML document using one xsl file.
>The the output XML generated in the first translation,
>I need to again transform it to another XML using a
>second xsl file.
>
>If possible, I want to do this by using a single xsl
>file where i would somehow do the first translation
>and then pass the whole result document throught a
>second translation.
>
>thanks,
>ana
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>--~------------------------------------------------------------------
>XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
>or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
>--~--
>
>

= = = = = = = = = = = = = = = = = = = =
			

				 
!!!!!!!!!!!!!!!!GavinChan
!!!!!!!!!!!!!!!!tseug123@xxxxxxx
!!!!!!!!!!!!!!!!!!!!2005-01-12


Current Thread
Keywords