[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT document() function!!!

Subject: Re: XSLT document() function!!!
From: "Oliver Emrich" <krummbeersupp@xxxxxx>
Date: Thu, 7 Aug 2003 11:30:18 +0200
xslt document variable
<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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.