Re: [xml] libxslt question
- From: Lucas Brasilino <brasilino recife pe gov br>
- To: Enno Rehling <enno despammed com>
- Cc: xml gnome org
- Subject: Re: [xml] libxslt question
- Date: Tue, 02 Mar 2004 11:04:17 -0300
I have a large xml document that I want to break down and transform into
many smaller files. For each occurrence of "/foo", I want to create a
new file that is built using an xsl transformation based on the foo-Node.
However, xsltApplyStylesheet gets the entire document and stylesheet
passed in, and writing match="/" in the stylesheet produces
transformations for all the nodes, not the specific one that I want, of
course. How can I trick it into transforming just one specific node?
I've only started using libxslt yesterday, so if that's a really stupid
question, I wouldn't know it :-)
It's a XSLT question, not a libxslt question. Take a look at
<xsl:document> element at XSLT specs.
brasilino recife pe gov br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
] [Thread Prev