W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: XML version number via DOM

From: Dylan Schiemann <dylans@yahoo.com>
Date: Wed, 21 Mar 2001 19:16:07 -0800 (PST)
Message-ID: <20010322031607.1075.qmail@web120.yahoomail.com>
To: Jeff Yates <pbwiz@pbwizard.com>, www-DOM@w3.org
Jeff,

I would think that it would be an attribute of that
node. So
document.childNodes[index].getAttribute("version")
would do the trick, assuming a correct implementation.


-Dylan Schiemann

--- Jeff Yates <pbwiz@pbwizard.com> wrote:
> At the beginning of every XML document there is a
> <?xml version="1.0" ?>
> tag.  Is there a way to get this version number from
> within DOM?  I know at
> this time there is only one version number, but in
> the future there may be
> more.
> 
> Jeff Yates
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
Received on Wednesday, 21 March 2001 22:16:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT