W3C home > Mailing lists > Public > public-xml-id@w3.org > February 2008

Confirmation of xml:id behaviour

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 12 Feb 2008 16:31:50 +1100
To: public-xml-id@w3.org
Message-ID: <20080212053150.GF7358@arc.mcc.id.au>

Hi.

Can I confirm that with the following document, “true” will be alerted,
yes?

  <svg xmlns='http://www.w3.org/2000/svg' xml:id='1'>
    <script>
      alert(document.getElementById('0') == document.documentElement);
    </script>
  </svg>

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Tuesday, 12 February 2008 05:32:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:50 UTC