[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Search methods for DOM...

Subject: Re: Search methods for DOM...
From: "Steve Muench" <SMUENCH@xxxxxxxxxxxxx>
Date: 30 Jul 1999 07:18:44 -0700
methods in dom
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.0.0.0.1) which you 
can get at http://technet.oracle.com/tech/xml, 
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 
BC4J: http://technet.oracle.com/product/tools/appjava/info/techwp20/wp.html 
 XML: http://www.oracle.com/xml
--- 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.