Revision 4213
Added by daigle over 16 years ago
saxparser.html | ||
---|---|---|
45 | 45 |
// Get an instance of the parser |
46 | 46 |
// Get the class name of SAX driver from some XML parser like: |
47 | 47 |
// org.apache.xerces.parsers.SAXParser |
48 |
<span class="emphasis">String parserName = util.getOption("saxparser");</span> |
|
48 |
<span class="emphasis">String parserName = util.getOption("xml.saxparser");</span>
|
|
49 | 49 |
// Given a class name, this method attempts to load and instantiate the class as an XML reader |
50 | 50 |
<span class="emphasis">parser = XMLReaderFactory.createXMLReader(parserName);</span> |
51 | 51 |
|
Also available in: Unified diff
qualify xml and eml properties with an xml. prefix