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

"plain" element for HTML/XHTML

  • From: "Clark C. Evans" <clark.evans@m...>
  • To: www-html-editor@w...
  • Date: Wed, 5 Jan 2000 18:13:48 -0500 (EST)

display mixed content
Dear XHTML Working Group,

  I would like to propose a new element, "plain", which
  has no attributes, and forbids any content other than
  zero or more characters.  The "plain" element would be
  another alternation in the BNF text production.

  Thus, the following mixed-content HTML:

     <html><body>Mixed 
       <b>content</b></body></html>
  
  Would be "display equivalent" to:

     <html><body><plain>Mixed
        </plain><b><plain>content</plain></b></body></html>

  Benefits:

  1. This would allow the data structures for an HTML
     processor/editor to avoid "text node type" and
     its related mixed-content issues.  

  2. The <plain> tag is both forward and backwards 
     compatible. 

  Rationale:

  I've been involved with numerous discussions over the
  last month on the sml-dev list over the complications
  that are created using mixed-content.  Specifically,
  how text nodes are difficult to manage programmatically
  through DOM.  I've also experienced a good deal of pain
  with regard to this problem myself.  

  On the sml-dev list, we've come up with an information 
  model that avoids mixed-content issues by allowing a
  node to either have one or more characters, or zero or
  more child nodes, but not both.   We would like to
  be able use HTML from our SML model.

  Also, since I am currently able to use the <plain>
  tag on the bulk of browsers today, this is a workable
  solution that has been implemented and tested.
  It would be great to have the tag name reserved as
  part of the HTML standard.


Thank you for your time and consideration,

Clark C. Evans

P.S.  If you are interested in issues like this
please visit the sml-dev mailing list at egroups.com 






xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



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.