How do I put in a DTD

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

How do I put in a DTD

Thu Mar 11, 2010 8:41 pm

I'm completely new to Oxygen and want to put in a DTD. WHat do I do and what form should the DTD be in?
adrian
Posts: 2360

Re: How do I put in a DTD

Fri Mar 12, 2010 11:05 am

Hello,

If you don't have a DTD but want one for your current XML document, you can generate it from Document -> Schema -> Generate/Convert Schema, select XML 1.0 DTD and an appropriate name will be chosen for the output file. Adjust the output if needed and press Convert. Then you can proceed to associate the DTD as mentioned below.

If you already have a DTD and want to associate the current XML Document with it then you have to go to Document -> Schema -> Associate Schema, choose the DTD tab and browse for the DTD or simply paste the DTD URL location(e.g. http://www.docbook.org/xml/4.4/docbookx.dtd) and press OK.

Let me know if you need further help or information.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 0 guests