[jdom-interest] Finding text for an element in an XML Doc

Mark Glass mglass at datalinx.net
Thu Apr 19 08:06:56 PDT 2001


Hi all,
  I need some suggestions -- I'm working on an application which reads 
an XML document, determines the text in a node which is specified by 
through a config file and returns the ttext. I intened to use XPath, 
e.g. String elementText = 
getKeyFieldText("/root/subelement1/childelement/Text()"). After doing 
some investigation it appears that XPath is used only for XSL. Are there 
any libraries available that will allow items to be located in an XML 
document?

Thanks in advance for your help..

Mark Glass




More information about the jdom-interest mailing list