W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2005

Help sought in incorporating XHTML inside other ns

From: Michael Hucka <mhucka@caltech.edu>
Date: Mon, 25 Apr 2005 13:38:35 -0700
Message-ID: <17005.21835.407400.190765@chill.local>
To: www-talk@w3.org

Suppose I have a XML format that stipulates that one may
place XHTML content inside elements named <notes>.  Further
suppose that the applications reading this format are not
expected to assume that the content inside <notes> are full
web pages, just formatted output to be possible presented to
users in context of other information.

Must the XHTML content be encapsulated inside a container
tag such as html or body?  More specifically, which one of
the following is correct or accepted usage?

1. <foo xmlns="/some/foo/namespace/defining/notes">
       <html xmlns="http://www.w3.org/1999/xhtml">

2. <foo xmlns="/some/foo/namespace/defining/notes">
       <body xmlns="http://www.w3.org/1999/xhtml">

3. <foo xmlns="/some/foo/namespace/defining/notes">
       <p xmlns="http://www.w3.org/1999/xhtml">

4. All of the above.

5. None of the above (and if so, what's the alternative?)

Sorry if this has an obvious answer, but neither the XHTML
spec nor the dozens of web pages I've consulted seem to
answer the following.

Much obliged for any feedback.


Mike Hucka, Ph.D. Senior Research Fellow   mhucka@caltech.edu 
Control and Dynamical Systems 107-81       tel: +1.626.395.6911
Caltech, Pasadena, CA 91125, USA           fax: +1.702.554.3067
Received on Monday, 25 April 2005 20:39:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:06 UTC