oXygen DTD conversion

This should cover W3C XML Schema, Relax NG and DTD related problems.
gregya
Posts: 2

oXygen DTD conversion

Wed Oct 03, 2007 6:21 pm

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
george
Site Admin
Posts: 2100

Thu Oct 04, 2007 10:56 am

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
George Cristian Bina
gregya
Posts: 2

Fri Oct 05, 2007 12:01 am

Thanks for clearing that up, George!
johnvarenda
Posts: 1

Re: oXygen DTD conversion

Sat Jan 02, 2010 1:19 pm

hi...
I too experience the problem.So,Thanks for clarifying the doubts....
Can you explain about Java to XML conversion.
Thanks...
...............
Radu
Posts: 5689

Re: oXygen DTD conversion

Wed Jan 06, 2010 4:20 pm

Hi,

Oxygen does not have support for Java to XML conversion.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
george
Site Admin
Posts: 2100

Re: oXygen DTD conversion

Wed Jan 06, 2010 4:35 pm

Can you please clarify?
There is no such thing like Java to XML conversion... What you would like that to do?

Regards,
George
George Cristian Bina

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 0 guests