permaculture playing cards*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl match and select attribute" Watch "xsl match and select attribute" New topic

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="/"):

is this correct?
thanks you
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: xsl match and select attribute
Similar Threads
How to handle nested html tags in XSL?
Help with XSL element
157 Question Help and Resourses
IBM Exam 157 - Questions and Answers (Sample Exam)
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows