|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schemas
Michael Kay wrote: >>Does that mean that you would never beable to write a schema >>for xhtml? > > > Of course you can write a schema for XHTML. But there are very few > real-world vocabularies where ALL the rules can be expressed in a schema, > and more than all the rules for a programming language can be expressed in > its BNF. > The problem I have with XML Schema and XHTML is with xml editors (software, not people). Say someone wants to create an FAQ. It must contain a question and an answer, like: <div class="faq"> <div class="question"> <p>This is a question p1</p> <p>p2</p> </div> <div class="answer"> <ol> <li>some answer part 1</li> <li>some answer part 2</li> </ol> </div> </div> there is no way to validate this with XML Schema. It is also why we use XML instead of XHTML in our editor (Xopus). I wish there was a good browser based, cross platform XML WYSIWYG editor that uses RNG... - So I could use XHTML but keep it /valid/. As it stands today, Xopus is the best choice. Anybody know of something that competes?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||







