- From: David Carlisle <davidc@nag.co.uk>
 - Date: Thu, 06 Jan 2011 15:25:29 +0000
 - To: Norman Walsh <ndw@nwalsh.com>
 - Cc: public-html-xml@w3.org
 
On 06/01/2011 15:10, Norman Walsh wrote:
 > And, moving into the way elements with specific local names are
 > recognized, is this:
 >
 >    <div>
 >      <para xmlns="http://docbook.org/ns/docbook">
 >         This is some<link>text</link>.
 >      </para>
 >    </div>
 >
 > Like this:
 >
 >    <div xmlns="http://www.w3.org/1999/xhtml">
 >      <para>
 >         This is some
 >         <link></link>
 >         text.
 >      </para>
 >    </div>
maybe I should leave this to Henri but I think that is equivalent to
   <div xmlns="http://www.w3.org/1999/xhtml">
     <para xmlns="http://docbook.org/ns/docbook">
        This is some <link>text.
     </para>
   </div>
where xmlns="http://docbook.org/ns/docbook" is an attribute not a 
namespace decln.
 > Or can I get the content of the script parsed into the DOM object I
 > might naively expect such that I can access it with JavaScript?
 >
only by calling the xml parser explicitly on the string content of the 
element, as far as I know.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Thursday, 6 January 2011 15:34:38 UTC