Re: [xslt] how to enable xinclude for documents read by document()function
- From: "Tom Frank" <tom zypsoft net>
- To: veillard redhat com, "The Gnome XSLT library mailing-list" <xslt gnome org>
- Subject: Re: [xslt] how to enable xinclude for documents read by document()function
- Date: Sun, 3 Jul 2005 17:51:46 -0700
On Sun, Jul 03, 2005 at 12:22:27AM -0700, Tom Frank wrote:
It appears that libxslt.setXIncludeDefault() api is no longer there. How
I process xml docs having xinclude with document() function?
My test xml/xsl files work fine with "xsltproc --xinclude" , but does
work with pyxsltproc.py. I need to know how to make this work in python
scripts (with pyxsltproc.py as a sample).
I am using latest libxml2-2.6.19 and
if doc is the instance to transform, use
before running the transformation on said instance.
I think the problem is with document() function. I use it like following in
<xsl:variable name='mydoc' select='document("test.xml")'/>
where test.xml contains xincludes. When 'test.xml' is read in as such, all
xinclude's are already lost.
According to an old post by you ,
you have added this feature in 2001, which I believe was
setXIncludeDefault() api (?). Besides this old post, I can't find any other
references to this api, why it is removed from current release and what
might have replaced it.
A similar question on this list posted about three months ago went
unanswered, http://www.mail-archive.com/xslt gnome org/msg00102.html
Thanks for your help .
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt gnome org
] [Thread Prev