Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Mon, 21 Apr 2008 11:17:01 -0700,    group: microsoft.public.xml        back       


Is XPATH only applied to select property ?   
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
date: Mon, 21 Apr 2008 11:17:01 -0700   author:   clara

Re: Is XPATH only applied to select property ?   
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
date: Tue, 22 Apr 2008 12:52:35 +0200   author:   Magnus Henriksson

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us