Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSD for HTML elements

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

How can I get an XSD representation of a HTML document. I'm looking for a generic XSD which simply represents a valid HTML document.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not possible, because HTML is not XML. If you're talking about XHTML, then the associated schema is described at http://www.w3.org/TR/xhtml1-schema/.

Note that you can't "get an XSD representation of an XHTML document", though - the schema describes ALL valid XHTML documents, not just any particular one.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic