Re: [xml] pb xsltproc path confusion with document() function
- From: Daniel Veillard <veillard redhat com>
- To: stephane mottelet utc fr
- Cc: xml gnome org
- Subject: Re: [xml] pb xsltproc path confusion with document() function
- Date: Thu, 25 Sep 2003 11:45:16 -0400
On Thu, Sep 25, 2003 at 05:49:03PM -0400, stephane mottelet utc fr wrote:
I got it.
with document(@href) when the href attribute contains
"foo.xml" then it is ok, xsltproc tries to find the
file in teh current folder.
with document(concat(@code,'.xml')) when the code
atribute contains "foo" then xsltproc tries to find
foo.xml in the stylesheet folder.
I have made the test. What is the difference ? An explicit
No, you're still confusing a nodes and strings which are totally
different type and have different properties. Nodes have a base URI
and strings don't !
@href is a node set , the result of concat is a strings.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]