[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <jcowan@r...>
  • To: vdv@d...
  • Date: Thu, 17 May 2001 10:51:12 -0400

Eric van der Vlist wrote:


> Mixed content is a great asset for some applications (it's hard to
> imagine XHTML without mixed content).


Formally speaking, mixed content can always be removed by wrapping
the #PCDATA into a "span" element.  The result is verbose, but
will work as both HTML and XML:

<p><span>This is no longer </span><i>mixed</i><span> content</span></p>

Similar tricks can be placed with any document type permitted
mixed content.

-- 
There is / one art             || John Cowan <jcowan@r...>
no more / no less              || http://www.reutershealth.com
to do / all things             || http://www.ccil.org/~cowan
with art- / lessness           \\ -- Piet Hein


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member