[jdom-interest] JDOM & XML-Schema

Philip Nelson panmanphil at yahoo.com
Thu May 2 08:15:22 PDT 2002


A schema is an xml document.  As such jdom can create one any way you like but
there is no special treatment for schema constructs.  Your best bet, if
possible, is to create template schemas that are close to what you need and
save them as documents.  Then parse them into jdom documents and modify the
things you need to customize, changing, deleting or adding elements, attributes
and namespaces as needed.  Then save the customized schemas.

--- Tundrea Emanuel <emi_tundrea at yahoo.com> wrote:
> Hello,
> 
> Kevin, thank you so much for your interest in helping
> me, but for now my question was not how to validate
> against a schema, but how can I output a schema using
> JDOM. How can I create a XML-Schema using JDOM? Are
> there any particular utility classes to describe a
> "complexType", "simpleType", etc., or I have to
> construct "org.jdom.Document" and "org.jdom.Element"
> with special parameters?
> 
> So my question is how can I create an "*.xsd" file?
> Maybe is a very childish question, but as far as I
> discovered JDOM I did not find the answer.
> 
> Many Thanks,
> 
> Emi
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com



More information about the jdom-interest mailing list