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
shae devlinSubject: xslt 2.0 split xml file within studio
Author: shae devlin
Date: 01 Sep 2005 09:03 AM
is it possible to create multiple xml files from one source using stylus studio and the built in saxon 8.4 processing???

If it is possible how do you set up stylus studio to complete this task?

Thanks in advance....

Postnext
Tony LavinioSubject: xslt 2.0 split xml file within studio
Author: Tony Lavinio
Date: 01 Sep 2005 05:53 PM
See http://www.w3.org/TR/xslt20/#element-result-document

Postnext
shae devlinSubject: xslt 2.0 split xml file within studio
Author: shae devlin
Date: 07 Sep 2005 06:25 PM
Do you know what the error below is caused from???



---------------------------
Stylus Studio XML Enterprise Edition
---------------------------
java.lang.RuntimeException: The system identifier of the principal output file is unknown
URL: file:///c:/Documents and Settings/shaed/Desktop/msnNewDiamondShape2.xslt
Line:19
Col: 1
Jump to location?
---------------------------
Yes No
---------------------------

Postnext
Tony LavinioSubject: xslt 2.0 split xml file within studio
Author: Tony Lavinio
Date: 08 Sep 2005 09:31 AM
Not seeing the stylesheet, I'm not sure, but you could try
replacing the spaces in your URL with %20, since spaces aren't
allowed in URLs.

Postnext
shae devlinSubject: xslt 2.0 split xml file within studio
Author: shae devlin
Date: 08 Sep 2005 11:53 AM
Originally Posted: 08 Sep 2005 11:43 AM
Below is the code that is causing the error aparently.... <xsl:result-document href="'qz.xml'"><br> <xsl:value-of select="LooseDiamondTemplate"/><br> <!--<xsl:variable name="AFile" select="concat('Offer',position(),'.xml')"/><br> <xsl:value-of select="{$AFile}"/><br> <xsl:result-document href="{$AFile}">--><br> <br> </xsl:result-document> <br> <br> <br> <xsl:result-document href="NewTwo.xml"><br> <br> <xsl:value-of select="*/WatchTemplate"></xsl:value-of><br> <br> </xsl:result-document> <br> <br> <br> <xsl:result-document href="AllOthers.xml"><br> <br> <br> <xsl:value-of select="*[name()!='LooseDiamondTemplate' and name() !='WatchTemplate']"></xsl:value-of><br> <br> <br> </xsl:result-document>

Posttop
Tony LavinioSubject: xslt 2.0 split xml file within studio
Author: Tony Lavinio
Date: 08 Sep 2005 12:14 PM
If you do not supply an absolute URL for the output URL (meaning one
that contains the protocol and full path name), you must supply a base
URL somewhere in the scope. Otherwise, Saxon doesn't know where to put
the output files.

URLs don't automatically recognize the concept of 'current system
directory' because the context depends on the protocol, which you
didn't supply. Saxon can't tell whether you mean http: or file: or
ftp: or some other protocol, so it doesn't know in which place it
should try to put the output.

I found this by opening the source code to Saxon, which is supplied on
SourceForge (see http://saxon.sf.net/ for details) and searching for
the error message you posted.

 
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.