• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to include DTD for cd_catalog.xml file

 
karan kundal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am new to XMl and looking to pass through the certification for the same. I was going through few of suggestions and recommended resource sites. one of them ZVON.ORG.

I am trying to run cd_catalog.xml file. it runs smooth with css files. but when i tried to run it with dtd. It ran but didnt behave in any manner according to the dtd file.

I tried many things like changing root element in dtd file than of in xml file. For example, if XML file is having CATALOG as root element i tried putting CATALOG1 in the dtd and its declaration in the xml. It still ran without any problem

Please some body let me know what i need to do to make sure that rendering of xml file adhere to the DTD files attached to it.

thanks a ton in advance.
Karan
PS: I am using win XP, IE6.o
 
karan kundal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi All

I think i got the reply of mine own query. I was trying to get my DTD work in browsers. But forgot that browsers only care about wel formed XML document and not valid document. So a buggy DTD , syntactically correct though, will not have any effect on presentation in browsers.

Please let me know if I am correct

Thanks And regards
Karan Kundal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic