It appears that the XPath document function, under Cocoon,
will only access files using OS-specific path reference:

i.e.

document('D:\tomcat41\webapps\cocoon\basic\docs\doc.xml')

works, but

document('http://localhost:8080/cocoon215/basic/docs/doc.xml')

does not!  I guess this is a Xalan issue, as the W3C XSLT reference
says:

" An XSLT processor is not required to support any particular URI
schemes. 
The documentation for an XSLT processor should specify which URI
schemes 
the XSLT processor supports."


Q: what's the best way to inform my stylesheet of the document path
in such a way that, if I move the app to another OS (eg UNIX), the
stylesheets will still work...

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to