oracle.xml.parser.v2.XSLProcessor & XSLStylesheet

Anton Schoultz - ePOS antons at epos.co.za
Fri Nov 5 14:04:54 GMT 1999


Hi Gang,

Do any of you have experience in using oracle's parser stuff, in particular
the XSL Processor?

According to the very skimpy notes (see below) , the XSLStylesheet has a
constructor which takes two URL objects, one for the xsl, the other a
'Reference'.

I have set up an xml document, it's DTD and an xsl style sheet. I can browse
the xml with IE5 and it reads the style sheet and applies it as desired. Now
I want to do the stylesheet processing from inside a JAVA servlet. Thus far
the servlet can read and parse the XML using the DTD. But I can't seem to
get the code to build up the style sheet which I need as a parameter for the
XSL Processing.

Can anyone help ?

Regards
Anton


<quote>

 public XSLStylesheet(URL xsl,
                      URL ref) throws XSLException

Constructs an XSLStylesheet using the given URL

Parameters:
xsl - XSL input as a URL
ref - Reference URL for include, import and external entities
Throws: XSLException
on error.

</quote>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list