You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Luis Villar <lu...@nmp.es> on 2001/04/04 14:02:15 UTC
Dinamic stylesheet modification
Hi
I need load one stylesheet saved in a file ('stylesheet.xsl') and under some conditions alter it dinamically.
how can I do it with Xalan?
Thanks.
RE: Dinamic stylesheet modification
Posted by Christian Aberger <Ch...@Aberger.at>.
Hi,
As a first general step for any kind of question I propose to read the
documentation and the samples in http://xml.apache.org for both Xerces and
Xalan.
Then a second proposal: You might want to use Xerces to parse the stylesheet
into a DOM tree. Then you use the Xerces DOM-API to modify it. Then you
print it to memory. There is a sample in Xerces (DOMPrint, I think) that
shows how to do that. Then you have the modified stylesheet in memory, there
is another sample in Xerces that shows how to to a transformation with a
strstream input source.
wfR Christian Aberger
-----Original Message-----
From: Luis Villar [mailto:luis@nmp.es]
Sent: Mittwoch, 04. April 2001 14:02
To: xalan-dev@xml.apache.org
Subject: Dinamic stylesheet modification
Hi
I need load one stylesheet saved in a file ('stylesheet.xsl') and under
some conditions alter it dinamically.
how can I do it with Xalan?
Thanks.