Page 1 of 1

oXygen DTD conversion

Posted: Wed Oct 03, 2007 6:21 pm
by gregya
Hi,

Fairly new to XML and very new Oxygen-- but I'm loving this program!

My question is why following coversion of an xml doc to DTD does Oxygen add the following ATLIST after every element:

<!ATTLIST personnel
xmlns CDATA #FIXED ''>

Validation appears to work fine if you just sweep through and delete all these. So why does Oxygen supply them?

Thanks so much!

Greg

Posted: Thu Oct 04, 2007 10:56 am
by george
Hi Greg,

oXygen use TRANG (http://www.thaiopensource.com/relaxng/trang.html) to perform the conversion between different schema languages. The xmlns attribute that you noticed represents in fact a namespace declaration and in your example it specifies that the declared elements belong to no namespace.
oXygen has an additional action that you can use to get a DTD from an XML document. This is the DTD that oXygen uses when it learns automatically the document strcuture when you do not have a schema or a DTD associated. See the Document->XML Document->Save structure action. That will give you a simpler but more relaxed DTD than the "Convert to" action.

Best Regards,
George

Posted: Fri Oct 05, 2007 12:01 am
by gregya
Thanks for clearing that up, George!

Re: oXygen DTD conversion

Posted: Sat Jan 02, 2010 1:19 pm
by johnvarenda
hi...
I too experience the problem.So,Thanks for clarifying the doubts....
Can you explain about Java to XML conversion.
Thanks...
...............

Re: oXygen DTD conversion

Posted: Wed Jan 06, 2010 4:20 pm
by Radu
Hi,

Oxygen does not have support for Java to XML conversion.

Regards,
Radu

Re: oXygen DTD conversion

Posted: Wed Jan 06, 2010 4:35 pm
by george
Can you please clarify?
There is no such thing like Java to XML conversion... What you would like that to do?

Regards,
George