|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Quick question regarding XPath
From: Murali Mani <mani@C...> Subject: Quick question regarding XPath Date: Wed, 25 Feb 2004 05:51:07 -0800 (PST) Message-ID: <Pine.GSO.4.58.0402250549490.17412@p...> mani> is it possible to say in XPath mani> mani> a//@b mani> mani> is the above equivalent to: mani> mani> (a/@b | a//*/@b) mani> mani> thanks, murali. Since the above XPath expressions are regular expressions, they can be implemented by some modified NFA. The NFA for a//@b can be divided into two NFA, one is for a/@b and the other is for a//*/@b. Therefore, a//@b is equivalent to (a/@b | a//*/@b). The above method is not applicable when an XPath expression contains some order predicate. makoto onizuka
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








