Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Problem creating the right namespace.

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Christian-Josef Schrattenthaler'" <hotline AT software-agentur.com>, <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Problem creating the right namespace.
  • Date: Wed, 25 Feb 2009 10:01:19 -0000

> 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/





Archive powered by MHonArc 2.6.24.

Top of Page