W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

p:unescape-markup (p:parse)

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 26 Apr 2007 09:55:30 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87odlb1bql.fsf@nwalsh.com>

  For example, with the 'namespace' option set to the XHTML namespace,
  the following input:

  &lt;p>This is a chunk.&lt;/p>
  &lt;p>This is a another chunk.&lt;/p>

Why does unescaping markup produce this:

  <p xmlns="http://www.w3.org/1999/xhtml">This is a chunk.</p>
  <p xmlns="http://www.w3.org/1999/xhtml">This is a another chunk.</p>

and not this:

  <description xmlns="http://www.w3.org/1999/xhtml">
  <p>This is a chunk.</p>
  <p>This is a another chunk.</p>

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Any problem in computer science can be
http://nwalsh.com/            | solved with another layer of
                              | indirection.--David Wheeler

Received on Thursday, 26 April 2007 13:55:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:42 UTC