aspose file tools*
The moose likes XML and Related Technologies and the fly likes xsl match and select attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl match and select attribute" Watch "xsl match and select attribute" New topic
Author

xsl match and select attribute

Andrew Cane
Ranch Hand

Joined: Aug 07, 2013
Posts: 91


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
 
 
subject: xsl match and select attribute
 
Similar Threads
IBM Exam 157 - Questions and Answers (Sample Exam)
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows
How to handle nested html tags in XSL?
Help with XSL element
157 Question Help and Resourses