XML generation from inherited DTD

Questions about XML that are not covered by the other forums should go here.
pradeep.josyula
Posts: 1
Joined: Fri Apr 01, 2011 5:35 pm

XML generation from inherited DTD

Post by pradeep.josyula »

Hi

I am trying to generate XML from an inherited DTD file.
The tool does not generate teh elements from the inherited DTD.
Can you pls help me on this?
Just for an idea, here's what I do..
ex1.dtd
--------------------------------
<!ENTITY % ex2 SYSTEM "ex2.dtd">
%ex2;

ex2.dtd has all the element declarations

Thanks
Pradeep
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: XML generation from inherited DTD

Post by adrian »

Hello,

The Generate Sample XML Files tool only works with XML Schemas(XSD), it does not work with DTDs.

In what type of schema is the DTD inherited?

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