This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XSD for HTML elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSD for HTML elements" Watch "XSD for HTML elements" New topic
Author

XSD for HTML elements

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
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.


Ping & DNS - my free Android networking tools app
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Thanks Ulf!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSD for HTML elements
 
Similar Threads
converting xsd to html
word document - XSD data type ?
How to Convert XSD into XML
XML Schema Help
.Class not found?