Subject: RE: [xsl] dynamic stylesheet From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx> Date: Tue, 13 May 2003 15:12:21 +0100 |
your XSLT processor doesnt support http type uri reference....why not try Saxon ( saxon.sourceforge.net ) as a test.... gl, jim fuller -----Original Message----- From: Charles Ohana [mailto:cohana@xxxxxxxxxxxxxxx] Sent: 13 May 2003 15:00 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] 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: [xsl] 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 This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please contact the sender immediately. Any disclosure, copying, distribution or any other use of this communication is strictly prohibitedand may be unlawful. Stuart Lawrence Marketing Communications Limited reserves the right to monitor and intercept communications for unlawful business purposes. This also confirms that this message has been swept for viruses, although Stuart Lawrence Marketing Communications Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or contents. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamic stylesheet, Charles Ohana | Thread | Re: [xsl] dynamic stylesheet, Charles Ohana |
Re: [xsl] dynamic stylesheet, Charles Ohana | Date | RE: [xsl] selecting the nearest pre, Jarno . Elovirta |
Month |