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

RE: Expression in XPath

Subject: RE: Expression in XPath
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 06 Mar 2006 14:25:47 -0500
xpath reg expression
Dariusz,

Dariusz,

At 09:03 AM 3/3/2006, you wrote:
Because I have seperated the XPath expression completely from the code. The target was to get a clearly result sending just one expression. Then, it is much easier to maintain the code and or to expand it. If it is not possible, then it is ok. I can run a kind of 'check' again within the methods, but actualy this is what I wanted to avoid.

Ah, I see. Then I'm afraid you're up against the limits of XPath 1.0, which was never intended as a full-fledged processing or even query language. But as Mike showed, you can do what you want in XPath 2.0. If running 2.0 is an available option for you, you'd find in general that your code-separation goals are much easier to achieve. XPath 2.0 makes it easy to do many things that are difficult in XPath 1.0, and possible to do many things otherwise impossible.


Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.