Re: [xml] attach a local catalog
- From: Michael Rothwell <rothwell holly-springs nc us>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] attach a local catalog
- Date: Mon, 02 Sep 2002 21:23:52 -0400
Hi there,
I'm still trying to get my problem with xsl:include to work out. I'm
trying this at the moment, and it seems liek it shoukd work -- but it
doesn't:
xmlNodePtr root = xmlDocGetRootElement(styledoc);
xmlSetProp(root,"xml:base","http://localhost");
stylesheet = xsltParseStylesheetDoc(styledoc);
The stylesheet document has this in it: <xsl:include href="include.xsl"/>
If I put an "xml:base" attribute in the text file of the templaet, this
works. If I add it with xmlSetProp, it doesn't. I don't know why... I'm
apparently overlooking something. Any idea what?
Thanks,
Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]