[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What is the rule for parsing XML in a namespace insideHTML


stopgap xml
Joshua Allen wrote:

>>>I'm really suspicious of calls to rewrite a better, XML-aware
>>>      
>>>
>browser.
>  
>
>>That's fortunately not neccessary, as "more than 95% of browsers in
>>    
>>
>use"
>  
>
>>are "XML-based browser",
>>    
>>
><http://www.w3.org/MarkUp/2004/xhtml-faq.html>.
>
>So-called XHTML support in browsers is a joke.  You can use XML, so long
>as it looks just like HTML with a few minor variations.  Change the
>order of namespace declarations, redeclare namespaces, use a creative
>prefix, etc. and it blows up.
>  
>

And when using XSL v1.0 and transforming to XHTML it blows up if you 
have an empty TITLE or SCRIPT. It also blows up if you have an empty 
TEXTAREA. IE treats <br></br> and <hr></hr> as two elements -- not 
really a blow up, but...

>I really can't believe otherwise intelligent people continue to deceive
>themselves with such wishful thinking.
>
>I also don't understand why the religious devotion to XHTML, when it was
>only a stopgap idea between HTML and XML+XSLT+CSS support; which we
>already have.
>  
>

What is better:

<h1>Main title</h1>
<p>something something</p>
<div class="section">
  <h2>section title</h2>
  <p>something something</p>
</div>

or:

<h>Main title</h>
<p>something something</p>
<section>
  <h>section title</h>
  <p>something something</p>
</section>

?

my choice would be the second. Is that a stopgap or better design?

best,
-Rob



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.