Hi All,

I am extending class XMLReader to write my own Parser in Xerces.
I use the contenthandler to generate the doc and the root element
as shown below

ch.startDocument();
ch.startElement("", "", "POS", EMPTY_ATTR);

This generates the <POS> element. Now I want the POS to be generated as
follows

<POS xmlns:xsi="http://www.w3.org/2001/XMLSchema";
xsi:noNamespaceSchemaLocation="D:\ers\xml\newPO.xsd">

How do I do this?

Regards,
Pavitra Jain




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to