|
Subject: Questions on the new XSL spec (section 2.6) From: Steve Dahl <sdahl@xxxxxxxxxxx> Date: Mon, 28 Dec 1998 23:32:08 -0500 |
In section 2.6, the new pattern rules seem confusing to me:
Can '.', '..', ancestor(), ancestor-or-self(), and id() appear in
match patterns, or only in select patterns?
What does it mean when they occur in a match pattern, if that's
permitted?
Can these patterns appear in a SubtreeExpr? In other words, can they
appear as a "child" of another pattern? For example, is
'a/b/ancestor(c)/d' a permitted pattern?
If this is permitted, what does it mean if they are preceded by '/'?
What does it mean if they are preceded by '//'?
It's possible in the new pattern syntax to have '@x' followed
immediately by '/'. But '@x/y' is a pattern that doesn't seem to make
any sense. What kinds of NodeExpr are allowed to follow an
AttributeExpr, when they are separated by '/' or '//'? Similarly, what
kinds of NodeExpr are allowed to follow a TextExpr, CommentExpr, or
PiExpr?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Another DOM and XSL incompatibi, James Clark | Thread | Re: Questions on the new XSL spec (, James Clark |
| Re: Another DOM and XSL incompatibi, James Clark | Date | Questions on the new XSL spec (sect, Steve Dahl |
| Month |