Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xsl match and select attribute

 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


correct me if I'm wrong, but the match attribute in template can reach to <c> tag without specifying the steps:
match="c", and it will affect all <c> tags no matter how deep the locations are through out the document

while the select attribute in apply-templates must specify the steps to reach <c> like so (assuming match="/"):
select="a/b/c"

is this correct?
thanks you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic