[xsl] Using document() and namespaces

Subject: [xsl] Using document() and namespaces
From: Ruben Inoto <ris2@xxxxxxxxx>
Date: Tue, 03 Apr 2001 14:09:16 +0200
 Hi everybody,

 I posted this last week but I had no reply and I still haven't found
the solution, so I'll try again,  (my last attempt, I promise). Any clue
would make me very happy:

 I have a problem when trying to access an xml file with name-spaces
with 'document()' from xsl:

 The xml looks like this:
 <?xml version="1.0"?>
 <?cocoon-process type="xsp"?>
 <?cocoon-process type="xslt"?>
 <?xml-stylesheet type="text/xsl" href="/xsl/articulos.xsl"?>

 <xsp:page language="java"



And a bit of the xsl:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"

   <xsl:value-of select="document('my_file.xml')/xsp:page/tag/value"/>


 I get the error 'Can not load requested doc: my_file.xml' using Cocoon.

 I have no problems when I don't use the name-space 'xsp',  What am I
doing wrong?

 Thank you in advance...


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread