- From: Michael Hucka <mhucka@caltech.edu>
- Date: Mon, 25 Apr 2005 13:38:35 -0700
- 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"> .... <notes> <html xmlns="http://www.w3.org/1999/xhtml"> <head>...</head> <body>...</body> <html> </notes> 2. <foo xmlns="/some/foo/namespace/defining/notes"> .... <notes> <body xmlns="http://www.w3.org/1999/xhtml"> <p>....</p> <body> </notes> 3. <foo xmlns="/some/foo/namespace/defining/notes"> .... <notes> <p xmlns="http://www.w3.org/1999/xhtml"> ... <p> </notes> 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. MH -- 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