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

RE: A theory problem

Subject: RE: A theory problem
From: crism@xxxxxxxxxxxxx (Christopher R. Maden)
Date: Thu, 28 Oct 1999 11:54:20 -0700
RE: A theory problem
[un-Jeopardy!-izing]

[James Clark]
>> A path expression has the property if
>>
>> (a) it doesn't use / and the axis is a forward axis, or
>>
>> (b) it is a / expression, and the left hand operand has the
>> "single-level" property and the right hand operand has the
>> "stays-in-subtree" property.

[Michael Kay]
>This is nice and clean, but it doesn't seem to catch
>child::A/child::B/child::C.

Do you mean as a select or as a match pattern?  As a select, child::A is
single-level and child::B has stays-in-subtree; taken together,
child::A/child::B is single-level and child::C has stays-in-subtree.

So it seems to me that the compound expression meets the criteria for (b).

As a match pattern, nothing can be assumed to be single-level unless it's
anchored at the root.

-Chris

--
Christopher R. Maden, Solutions Architect
Exemplary Technologies
One Embarcadero Center, Ste. 2405
San Francisco, CA 94111



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.