I need to create the following namespace aware XML
document:
<D:propstat xmlns:D="DAV:">
<D:prop xmlns:R="http://foo.bar/ns">
<D:getcontentlanguage>enUS</D:getcontentlanguage>
<R:lockedby>someuser</R:lockedby>
</D:prop>
</D:propstat>
If I use the DOM API to generate element nodes and append
attributes, what advantages are there in using
createElementNS
and createAttributeNS over createElement and createAttribute?
Regards,
Keyur
|
- Re: xerces DOM API: to NS or not to NS? Keyur Dalal
- Re: xerces DOM API: to NS or not to NS? David N Bertoni/Cambridge/IBM
- Re: xerces DOM API: to NS or not to... Keyur Dalal
- Re: xerces DOM API: to NS or not to NS? Joseph Kesselman/CAM/Lotus
- Re: xerces DOM API: to NS or not to... Keyur Dalal
- Re: xerces DOM API: to NS or not to NS? David N Bertoni/Cambridge/IBM
- Re: xerces DOM API: to NS or not to... Keyur Dalal
- Re: xerces DOM API: to NS or not to NS? Joseph Kesselman/CAM/Lotus
- Re: xerces DOM API: to NS or not to... Keyur Dalal
- Re: xerces DOM API: to NS or not to NS? Joseph Kesselman/CAM/Lotus