Re: kdom.Node.getType

Stefan Haustein <[email protected]> Sat, 16 Nov 2002 13:07:12 +0100
Newsgroups gmane.comp.java.enhydra.kxml
Message-ID <[email protected]>

Bert Hobbs wrote:
> The getType method of the Node class gets the type of a child.  I 
> didn't  see
> a way of getting the type of a node itself.  Have I missed something?

The type of a node is always element (except for the document itself), 
since other node types are stored as Strings...

Best,
Stefan