Hi all, Can I apply XPATH to match property? I know I can apply some filtering to a match property such as in <xsl:template match="state[flower]">, is it a part of XPATH or something else ? Clara -- thank you so much for your help
clara wrote: > Hi all, > > Can I apply XPATH to match property? I know I can apply some filtering to a > match property such as in <xsl:template match="state[flower]">, is it a part > of XPATH or something else ? > > Clara Match patterns are a subset of XPath expressions. All match patterns are valid XPath expressions, but not all XPath expressions are valid match patterns. Match patterns must return a node set and use paths that specify only child or attribute nodes. Another way of saying the same thing is that a node matches a pattern if it is a member of the node set returned by the expression with some ancestor of the node acting as the current node for evaluating the expression. That said, you can use XPath expressions in predicates. // Magnus