[
Lists Home |
Date Index |
Thread Index
]
- From: Steve Muench <smuench@us.oracle.com>
- To: Ajit Bawa <bawaa@sofrecom.co.za>
- Date: Wed, 18 Oct 2000 11:00:06 -0700
| I am using "oracle.xml.parser.v2" classes (in Java ) and
| would like to know if there is a method or simple way of
| extracting the Xsl Url from a Xml document without phyically
| searching the Xml file for it.
Assuming you mean that you want the value
of the href pseudo-attribute in the:
<?xml-stylesheet type="text/xsl" href="mystyle.xsl"?>
processing instruction, there is no special function that
does this.
You can get a hold of the Processing Instruction using
the DOM, but then you are responsible for parsing
the return value of getNodeValue() which will
just be a string that contains the text content
of the processing instruction, pseudo-attributes included.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/
|