[XML-SIG] elementtree and namespace

Werner F. Bruhin werner.bruhin at free.fr
Mon Dec 19 17:03:48 CET 2005


How can I define in a doc the following namespace?

<nsw:wine xmlns:nsw="http://www.winexml.org/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.winexml.org/XMLSchema wineXML.xsd">
</nsw:wine>

And what do I need to do that subsequent "Element" and "SubElement"
additions use the name space?  Would I have to name the elements
"nsw:name" instead of just "name"?

Again thanks in advance for any hints.
Werner






More information about the XML-SIG mailing list