Re: XML version number via DOM

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 UTC