Re: Search methods for DOM...

Subject: Re: Search methods for DOM...
From: "Steve Muench" <SMUENCH@xxxxxxxxxxxxx>
Date: 30 Jul 1999 07:18:44 -0700
If you're using a XML Parser which supports an 
integrated XSLT engine, then on any Node of your 
XML Tree, you can typically use XSL Patterns 
(recently renamed to "XPath expressions") to 
do sophisticated in-memory searches using the 
same familiar notation you have learned for  
XSLT transformations. 
The two I am aware of which support this are 
Oracle's XML Parser "V2" (v2. which you 
can get at, 
as well as the MSXML parser. 
Using the Oracle XML "v2" Parser you can do something like: 
 NodeList nl = myNode.selectNodes("/this/that[somecondition], myNode); 
To get back a node list of matching "that" elements 
which occur as children of "this" elements and  
which have "somecondition" being true. 
Steve Muench, Consulting Product Manager & XML Evangelist 
Business Components for Java Dev't Team 
--- Begin Message ---
Subject: Search methods for DOM...
From: "Rahul Deo" <rahuld@xxxxxxxxxxxxxxxxxx>
Date: 29 Jul 1999 23:13:18
What is the best way to search in a XML tree? There is something called XSL pattern matching. Can someone tell me how to use that?
Thnx in adv.
Rahul Deo
Tricon Infotech,
Ph. +91-80-5713264, 5715230,
5716073, 5716074
ext. 56

--- End Message ---
Current Thread