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

Re: [xsl] XSLT document() function!!!


Subject: Re: [xsl] XSLT document() function!!!
From: "Oliver Emrich" <krummbeersupp@xxxxxx>
Date: Thu, 7 Aug 2003 11:30:18 +0200

<xsl:variable name="XMLfile" select="document('myxmlfile.xml')"/>

now the content of the variable "XMLfile" is a nodeset. the first node is the root node of 'myxmlfile.xml'.

You can access the nodes in the variable like:

<xsl:value-of select=$XMLfile/child/@attOfChild/>

Hope this helps

 

 

xsl-list@xxxxxxxxxxxxxxxxxxxxxx schrieb am 07.08.03 11:06:45:
> 
> hi,
> 
> Can anyone tell me how to use the XSLT document() function in order to 
> access another XML document different from the input xml?????
> 
> Thanks...
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
> 
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
> 


______________________________________________________________________________
Mehr Spass mit E-Mails - Smilyes, Bilder, Briefpapier und Design-Mails
WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021140


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords