[jdom-interest] Extracting a Processing Instruction
bob at werken.com
Wed Oct 31 14:56:51 PST 2001
Or, use Jaxen (http://jaxen.org/) and apply an XPath.
On Wed, 31 Oct 2001, Jason Hunter wrote:
> Call getContent() and for each item in the list check if it's instanceof
> ProcessingInstruction. It was deprecated because we perceived it
> provided little value for the number of methods it added, and when we
> proposed removing it no one objected.
> Paulo Vieira wrote:
> > I am converting our app to the latest JDOM release and
> > I noticed that getProcessingInstructions() is now
> > deprecated. The docs suggest that one should "... use
> > getContent() and examine for PIs manually". How should
> > I do that? If I use getContent() and iterate through
> > the returned list, what will I be looking for? Maybe I
> > am missing something...
> > Just out of curiosity: why was
> > getProcessingInstructions() deprecated?
> > Any help would be greatly appreciated!
> > Paulo Vieira
> > __________________________________________________
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://email@example.com
> To control your jdom-interest membership:
More information about the jdom-interest