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

bob mcwhirter bob at werken.com
Thu Apr 19 08:43:12 PDT 2001


As always...

	http://code.werken.com/

Look for werken.xpath.

	-bob
	(guys, this is a FAQ, btw, if you read the jdom.org site)



On Thu, 19 Apr 2001, Mark Glass wrote:

> 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
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 




More information about the jdom-interest mailing list