Beginners Question
Questions about XML that are not covered by the other forums should go here.
Re: Beginners Question
Hi,
If you have an XML file and want to model and validate another target XML based on the same structure, you can:
Regards,
Adrian
If you have an XML file and want to model and validate another target XML based on the same structure, you can:
- generate a DTD or an XML schema from your given XML file. You can do this in Oxygen with Tools > Generate/Convert Schema. From the Input section select XML documents and browse for the input XML file (you can add several files for better accuracy), choose the Output type (XML 1.0 DTD or W3C XML Schema) and choose the output file name.
- Associate the newly created DTD/schema with your target XML file. Open the XML file and associate the schema: Document > Schema > Associate Schema, browse for the schema and press OK. The XML will be modified to include the association with the schema (DOCTYPE declaration of DTD or schemaLocation attribute for XSD).
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
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