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 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
dave livingstonSubject: document () reference location.
Author: dave livingston
Date: 31 Dec 2006 02:41 PM
I'm new to the entire XSL world so I run into some things that I know are second nature to other people. I can AWK & PERL with the best of them..this is just a new world...

WIth that said I am having a problem with the reference point of an XSL stylesheet when using the document function. I am exporting an XML file from an application using a stylesheet. I need to include some other XML data in that final export...so far..no problem.

If I export the document into the same directory I am running from and the import-document is in that directory, of if the import document is relative, i.e. doccfg/import-document.xml, then things will work.

However, if I want the export document to go to another directory, such as export/, then it appears that the reference point of my stylesheet somehow changes to the export directory rather than the directory where I am running from.

Is this normal behavior for XSL?

thanks

dave

Posttop
Tony LavinioSubject: document () reference location.
Author: Tony Lavinio
Date: 02 Jan 2007 05:21 PM
Without some specifics, it's hard to answer, but generally the
location reference is based on the enclosing document. Can you
supply an example?

 
Topic Page 1 2 3 4 5 6 7 8 9 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!  
go

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.