XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Eirik EikebergSubject: Link to another xml
Author: Eirik Eikeberg
Date: 21 Jan 2000 10:33 AM
Is there a way to set a link in my xsl that retrieve information form another xml??

Is it possible to link two xml into one xsl and the output is one xml??

Eirik Eikeberg
Concept Developer
Telenor Mobil
Oslo Norway
Tel: +47 918 04 654

Omri TraubSubject: Link to another xml
Author: Omri Traub
Date: 21 Jan 2000 03:04 PM
Yes - use the document() function from xpath.

For example:

(xsl:variable name="root" select="document('foo.xml')")

sets the variable root to contain the root node of the file foo.xml. You can now access all nodes in that document.

- Omri.

Sun KaySubject: Link to another xml
Author: Sun Kay
Date: 23 Jan 2000 10:23 AM

I did the above mentioned declaration

but in stylus I get the error message saying that doc function is not yet implemented in expression. Please help me in resolving this.

I am using the eval version of xln2.0.



(Deleted User) Subject: Link to another xml
Author: (Deleted User)
Date: 24 Jan 2000 09:53 AM
The document() function was implemented in a later version of Stylus than the one shipped with the 2.0 evaluation. If you're not sure you want to buy Stylus yet, I believe the Stylus-only trial may be a later version that contains document() support.


Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.