xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] How do I apply the xml-stylesheet
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Gary Furash <furashgf AT cox.net>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] How do I apply the xml-stylesheet
- Date: Wed, 08 Jun 2005 11:09:45 -0400
Gary Furash wrote:
Is there an easy way to use XOM to apply a given xml document's stylesheet?
e.g., if document Q has a
<?xml-stylesheet ...
tag, to get XOM to read the tag and apply the sheet?
Not really. You pretty much have to write the code to find the processing instruction, parse it, load the stylesheet, and then apply it. To solve this in the general case, you need to remember that there may be more than one such processing instruction.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] How do I apply the xml-stylesheet,
Gary Furash, 06/08/2005
- Re: [XOM-interest] How do I apply the xml-stylesheet, Elliotte Harold, 06/08/2005
Archive powered by MHonArc 2.6.24.