[jdom-interest] Parsing an XML Schema

Kevin POCHAT kpochat at gmail.com
Tue Aug 1 09:59:33 PDT 2006


So I'll repeat what I allready said, you can't define a root element in XML
Schema, unless you use the emf (Eclipse Modeling Framework) namespace to tag
an element as root. You can also tag it yourself, and make your paser detect
this tag.

2006/8/1, enis enis <enis_ch2001 at yahoo.fr>:
>
> But the problem is that there's no root element in the xml schema, and I
> want it to be created, or else the parsing without the root is not
> interesting for me.
>
>
> >>>>>>>>>
> So the root is the <schema> element....
>
> All else is normal XML parsing. Look for JDOM examples and tutorials...
> you'll have everything you need.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20060801/3ff44942/attachment.htm


More information about the jdom-interest mailing list