[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Questions on the new XSL spec (section 2.6)
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
|
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
|