oXygen DTD conversion
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 2
- Joined: Wed Oct 03, 2007 6:18 pm
oXygen DTD conversion
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
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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
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
-
- Posts: 1
- Joined: Sat Jan 02, 2010 1:16 pm
Re: oXygen DTD conversion
Post by johnvarenda »
hi...
I too experience the problem.So,Thanks for clarifying the doubts....
Can you explain about Java to XML conversion.
Thanks...
...............
I too experience the problem.So,Thanks for clarifying the doubts....
Can you explain about Java to XML conversion.
Thanks...
...............
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service