Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP- simple question

 
tom horwath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I am new in XML and I have very simple question
I know that I need DTD ( external, internal ) with my XMl document in order to validete it..
I also know that I need to write XSLT document and the use XT converter to make HTML page with XML tags..visible in browsers..
My question is simple..
If I want my XML document to be validate and visible in browser do I have to make actualy 3 documents ( xml, xsl, and for example external DTD)??
I know this is very basic, but as I ve said..XML is new for me..
I appreciate any answer and help
have a good day everyone
 
Scott Collens
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In order to validate your document and render it in a browser it is not necessary to have all three. In your xml document, you can have an internal DTD immediately following your xml declaration (you can have comments and processing instructions in between them). Then you would only have the xml document containing your your DTD and a xsl file for rendering.
I am not sure if you can include schemas internally in an xml file, but you can with DTD.
[This message has been edited by Scott Collens (edited July 25, 2001).]
 
tom horwath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much..
So, in any case i must have xml file in order to render is that so?
I know about internal and external DTD-s..XML schemas..but thanks Man..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic