Subject: Re: What is the difference between patterns - "*|/" and "*" From: Tyler Baker <tyler@xxxxxxxxxxx> Date: Fri, 12 Feb 1999 16:17:59 -0500 |
Keith Visco wrote: > Tyler wrote: > > My take on things is that: > > > > <xsl:template match="//*"> > > > > is effectively the same as: > > > > <xsl:template match="*"> > > > > However I don't think this is a legal pattern anyways because a > > ComposeExpression does not start with the union operator. > > // is not the Union operator, but the Ancestry operator and starting a > MatchExpr or SelectExpr with // is valid. > | is the union operator. Sorry I meant the ancestor operator (i.e. this was a brain far). The // produces a union of all nodes in a select pattern and I totally forgot that the '|' was the union operator (I think of it more as an OR operator even though it formally is not called this). Thanx for the correction. Tyler XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: What is the difference between , Keith Visco | Thread | RE: What is the difference between , David Schach |
RE: Venting, Mark Birbeck | Date | Re: Venting, Chris Lilley |
Month |