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
Conferences Close Tree View
- Stylus Studio Feature Requests (1192)
-> + Search and replace in Stylus S... (2)
-> + Additional rule/functions (17)
-> + Error in dateTime editing (2)
-> + javax.net.ssl.SSLKeyException... (2)
-> + XJC Problem (4)
-> + Validation of XHTML with Saxon... (2)
-> + Sense:X - Visual Studio Does i... (3)
-> + Tab Navigation / Order (2)
-> + Showing of ComplexTypes on Dia... (2)
-> + Previewing Documents In Extern... (3)
-> + Is there any copyright for the... (2)
-> + Problems defining my parent an... (2)
-> - custom processor and xslt (2)
-> ->custom processor and xslt
-> + how can i declare a variable a... (2)
-> + Looping and grouping in a text... (2)
-> + Please generate a new download... (8)
-> + Installer request (3)
-> + XSLT MAPPER : copy all attribu... (2)
-> + IBM JDK support (3)
-> + Specifying Values For XSL Para... (2)
-- Previous [181-200] [201-220] [221-240] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Raimondas KvietkauskasSubject: custom processor and xslt
Author: Raimondas Kvietkauskas
Date: 03 Jul 2007 09:43 AM
Hello,

I am trying to use custom processor (Xalan with extensions) with Stylus. It works fine, however I am not able to manage relative include and import files in my XSL templates.

<xsl:stylesheet xmlns:upr="http://www.uniplicity.com/report" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:api="http://www.uniplicity.com/report/API" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:local="local" xmlns:xalan="http://xml.apache.org/xalan" extension-element-prefixes="api" version="1.0">
<xsl:import href="templates/date.xsl"/>

...........

>SystemId Unknown; Line #2; Column #41; Had IO Exception with >stylesheet file: templates/date.xsl
>

When I use absolute path it works. What working directory it is using? I am trying to set "Path" variable in Stylus custom processor settings; but it does not help.

Posttop
Tony LavinioSubject: custom processor and xslt
Author: Tony Lavinio
Date: 03 Jul 2007 10:28 AM
xsl:import should be resolved relative to the location of the
XSLT file it is contained in.
See http://www.w3.org/TR/xslt#element-import

Are you saying that this doesn't occur for your custom processor?

Perhaps you could show us what the settings were that you used to
invoke the custom engine?

   
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.