[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: dynamic stylesheet
Thanks Mike It's seems that's it's seeking in the file system. It prefixes the current path to the href . I have the following in my xsl .<xsl:import href="http://charlie.com"/> The error message displays \u\pdf\rpteng\reports\tmp\http:\charlie.com (The filename, directory name, or volume label syntax is incorrect) Is it normal behavior or am I doing something wrong ?. The other possibility is my XSLT precessor . I don't know what kind of XSLT precessor I'm using. It's built in with the application server (Resin 2.05 from caucho.com) Maybe I should find out or try with a different (or newer) one . ----- Original Message ----- From: "Mike Brown" <mike@xxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, May 12, 2003 6:17 PM Subject: Re: dynamic stylesheet > Charles Ohana wrote: > > Hello Friends, > > Is there a way to import a generated stylesheet something that would look > > like > > <xsl:import href="http://xslserver/style.jsp?page=1" /> > > The URI reference in the href is just a string passed to a URI resolver (an > essential component of the XSLT processor); it makes no difference if the URI > is pointing to something that is generated at access time or that is something > more static. > > The XSLT processor relies on a URI resolver to handle xsl:import and > xsl:include hrefs as well as document() calls. This resolver probably is not > the same one used by your XML parser(s) to resolve external entity references. > > This resolver may or may not support certain URI schemes; you will need to > check with your processor's documentation for information on what it does > support and how to customize its behavior. Generally, http is supported, but > not necessarily in all contexts. Precisely what trouble are you having, with > which processor? > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|