Subject: Re: [xsl] dynamic document() template problem From: "Sam D. Chuparkoff" <sdc@xxxxxxxxxx> Date: Mon, 20 Jun 2005 14:33:29 -0700 |
On Mon, 2005-06-20 at 12:29 -0700, Arian Hojat wrote: > Hello i am trying to base a template rule off an > attribute in my XML to which chooses nodes to apply > > ###my XML### > <include href="fbackground.xml" > nodes="fb/section1/*"/> You might also consider using XInclude. This element in your xml would be replaced with: <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="test2.xml" xpointer="xpointer(/Document/fb/section1/*)"/> This works in libxml2 today. So then you have the option of: xsltproc --xinclude transform.xsl test.xml or xmllint --xinclude test.xml | \ java net.sf.saxon.Transform - transform.xsl sdc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamic document() templa, J.Pietschmann | Thread | Antw: Re: [xsl] join two files - pl, Michael Donabauer |
[xsl] Finding parent of the middle , Brook Ellingwood | Date | Re: [xsl] Finding parent of the mid, Sam D. Chuparkoff |
Month |