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

Haase, Christian haase at mecklenburgische.de
Tue Nov 19 02:58:57 PST 2002


Hello everyone,
How can I set a reference to XML schema by generating XML-documents with
JDOM?
I do need e.g. this XML-Ouput:

<?xml version="1.0"?>
<ZusyMeldung xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://www.zusy.de/2002/XMLSchema" 
xsi:schemaLocation="http://www.zusy.de/2002/XMLSchema ZusyAZ01.xsd ">
...
There are no problems with the first two rows, I do this with the
addNamespaceDeclaration method.
But, what should I do exactly for generating the third row with JDOM for
referencing the schemaLocation?
Has everyone an example for doing this?

Many greetings,
> Christian Haase
> haase at mecklenburgische.de
> 



More information about the jdom-interest mailing list