> thanks for all.
>
> Thanks.
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrgla...@ca.ibm.com
> E-mail: mrgla...@apache.org
>
--
View this message in context:
http://www.nabble.com/Add-namespaces-declaration-to-parent-element.-tp25
juho wrote on 08/20/2009 09:43:32 AM:
> Hello and thanks it works perfectly.
>
> I have just an understanding question;
> I began with difficulty to understand how to use different DOM Level, but
> correct me if misunderstood but Level3 is the most complete actually?
It's the most recent version
>>at
>> org.tdf.tpegPlugin.parser.DocumentBuilderFromXSD.
>> setMandatories(DocumentBuilderFromXSD.java:333)
>>at
>> org.tdf.tpegPlugin.parser.DocumentBuilderFromXSD.
>> createElement(DocumentBuilderFromXSD.java:283)
>>at
>> org.tdf.tpegPlugin.parser.Do
ilderFromXSD.
> (DocumentBuilderFromXSD.java:81)
>at
> org.tdf.tpegPlugin.parser.DocumentBuilderFromXSD.
> (DocumentBuilderFromXSD.java:67)
>at org.tdf.tpegPlugin.Main.main(Main.java:52)
> --
> View this message in context: http://www.nabble.com/Add-namespaces-
>
y wish is to have output like that:
>>
>> http://test1";>
>>
>>
>>
>>
>> instead of what i have actually
>>
>> http://test1"/>
>> http://test1"/>
>>
>
>
>
do you already have the old XML format, and only transformation is
required, to the new format? if yes, I would try to do this with XSLT.
if you are creating the new XML, as part of some program, where use of
Xerces-J is mandatory, then we must find way to solve this problem
with Xerces-J and an A
XSD.java:130)
at
org.tdf.tpegPlugin.parser.DocumentBuilderFromXSD.(DocumentBuilderFromXSD.java:81)
at
org.tdf.tpegPlugin.parser.DocumentBuilderFromXSD.(DocumentBuilderFromXSD.java:67)
at org.tdf.tpegPlugin.Main.main(Main.java:52)
--
View this message in context:
http://www.nabble.com/Add-namespaces-decla