• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Something about NodeType

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
Can anyone pls. explain me about the tag NodeType.
I found a code Node Type=3 and here 3 denoting to Text.
I get Confused.Is there any predefine types ???
please,help me....If I am talking anything bogus ...forgive me.
Don't mind.
I am new in XML.
<marquee> Ratul Banerjee </marquee>
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ratul,
Node types are defined as static short variables in <code>public interface Node</code>.
Checkout the - http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/java-binding.html for the list of node types.
Hope that helps!
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download the JAXP package from Sun - the Javadocs are extremely convenient way to look this kind of thing up. For instance there is a nice table of Node types and what is returned by calls to nodeValue() etc. etc.
Bill

------------------
author of:
 
Rat Ban
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Ajith and Bill,
Thanks for ur reply.
I think these links will be very much usefull for me.
By the way...Bill can u give the exact Link
4rm where I can download the JAXP Package.
Thanks in Advance.
Ratul Banerjee

[This message has been edited by Rat Ban (edited January 25, 2001).]
 
We're all out of roofs. But we still have tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic