Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: [XHTML2] On the subject of handling quotations

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sat, 13 Dec 2003 11:33:08 -0500
Message-ID: <410-220031261316338578@mindspring.com>
To: "Lachlan Hunt" <lachlan.hunt@iinet.net.au>
Cc: "W3C HTML List" <www-html@w3.org>




> [Original Message]
> From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
>
> Ernest Cline wrote:
>
>    Assuming the distinction is only presentational, since <blockquote> 
> can now be used within <p> just like <quote>, would it really matter 
> whether or not it was a quote was block or inline?  Although 
> <blockquote> currently can't be used within other inline elements, like 
> <quote> can, this may only be a minor difference, and thus it still may 
> not matter whether the quote is block or inline.  If this is the case, 
> then, obviously, we'd only need the one element.  Also, as you suggested 
> in an earlier post, the content model could be:
>
> > (Block*) | (PCDATA|Inline)*
>
>    Which solves the problem of mixing other block and inline elements
like:
>
> <quote><strong>inline text</strong>
> <p>paragraph text</p></quote>
>
> because it restricts the author to having only block, or only inline 
> content, thus kind of making a distinction between block and inline 
> quotes, but without the need for two elements.
>    (I am however aware of the current styling problems of not being able 
> to apply style based on an elements children, but this could be handled 
> by an author with appropriate classes, but that doesn't help the default 
> styling by UAs.  I'll have to think about this some more.)

Nope, because assuming that the block/inline distinction remains so that
we have certain elements such as <span> that can only have inline
content inside them then if <quote> was used for either block or inline
we could have <span><quote><div/></quote></span> as I believe there
does not exist in XML a mechanism for telling <quote> that inside a <span>
certain elements such as <div> are not OK while they are OK elsewhere.

<quote> doesn't need the block/inline distinction for itself, but if it is
needed for other elements there will be a need for two separate
quotation elements for the block and inline models.
Received on Saturday, 13 December 2003 11:36:20 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.