<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>xml:id: testing value normalization</title>
 </head>
 <body>
  <p xml:id="
   foo  
     bar
  ">The following two lines should be equivalent:</p>
  <pre></pre>
  <pre>foo bar</pre>
  <script>
   var idValue = document.getElementsByTagName('p')[0].getAttributeNS('http://www.w3.org/XML/1998/namespace','id');
   document.getElementsByTagName('pre')[0].innerHTML = idValue;
  </script>
 </body>
</html>
