Antwort: RE: [jdom-interest] Namespace help
Hans Prüller
hans.prueller at igs.at
Thu Jul 25 07:09:42 PDT 2002
i think the level3-element inherits the xmlns="" from level 2.
so it should be in the ""-namespace.
hans
"Li Xu"
<Lxu at copyright.com An: "bob mcwhirter" <bob at werken.com>
> Kopie: "Elliotte Rusty Harold" <elharo at metalab.unc.edu>, <jdom-interest at jdom.org>
Gesendet von: Thema: RE: [jdom-interest] Namespace help
jdom-interest-admi
n at jdom.org
25.07.2002 15:59
> > but XMLOutputter is giving this:
> >
> > ===============
> > ===============
> > <root_elem xmlns="http://my.com" ....>
> > <level2 xmlns="">
> > <level3>xyz</level3>
> > </level2>
> > </root_elem>
> > ===============
> >
> > Notice <level3> is perfectly fine without any namespace?
> Please tell me what I'm missing here.
>
> Right, because <level2> and <level3> are both not in namespaces,
> and semantically, that's what this document says.
>
So why didn't it print <level3 xmlns=""> just like <level2> then?
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
____________________________________________________
IGS Systemmanagement
GmbH & Co KG
Dorfplatz 5
A-4531 Piberbach
phone: +43 7228 6451 0 home: http://www.igs.at
fax: +43 7228 6451 30 eMail: igs at igs.at
hotline:
fax: +43 7228 6451 20 eMail: hotline at igs.at
____________________________________________________
NEWSFLASH___________________________________________
Personalmanagement ab sofort verfügbar.
Reservieren Sie sich Ihren persönlichen Demotermin
unter igs at igs.at
NEWSFLASH___________________________________________
More information about the jdom-interest
mailing list