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
Hi
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.
regards
--
[]'s
Lucas Brasilino
brasilino recife pe gov br
http://www.recife.pe.gov.br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]