[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xalan Uses which Parser
If you let Xalan-J do the parsing (passing it a StreamSource), in most situations it will default to invoking Xerces as a SAX parser. I think we actually request the parser thru JAXP, so you can override that to use another JAXP-compatable SAX parser. If you pass us a SAXSource, of course, we read from whatever that source happens to be; that gives you another way to plug in a different parser (or a non-paser SAX stream). If you pass us a DOMSource, we read from that DOM. I believe similar answers apply to Xalan-C, but it's been a long time since I looked at that code. BTW, you can generally get better answers for Xalan-specific questions by asking on Apache's own Xalan mailing lists, ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|