[jdom-interest] How to set a reference to XML-Schema?

Laurent Bihanic laurent.bihanic at atosorigin.com
Tue Nov 19 04:14:58 PST 2002


Haase, Christian wrote:

> >But, what should I do exactly for generating the third row with JDOM for
> >referencing the schemaLocation?
> >Has everyone an example for doing this?
>
With elt refering to your ZusyMeldung element and ns refering to the JDOM 
Namespace for schema instance :

elt.addAttribute("schemaLocation", "http://www.zusy.de/2002/XMLSchema 
ZusyAZ01.xsd", ns);

Laurent




More information about the jdom-interest mailing list