[XOM-interest] Problem creating the right namespace.
Michael Kay
mike at saxonica.com
Wed Feb 25 05:01:19 EST 2009
> But now I don't know how to add
> 'xsi:schemaLocation="http://..."', and I have an empty
> (xmlns="") attribute on each child element I add to the root element.
>
You need to create each element in the same namespace as the root. If you
create it in the null namespace, XOM will have to redeclare the default
namespace as the null namespace.
Michael Kay
http://www.saxonica.com/
More information about the XOM-interest
mailing list