• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HELP- simple question

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
reply
    Bookmark Topic Watch Topic
  • New Topic