I've been going through Chapter 4 and I have a specific question regarding Select vs. Apply-Templates.
Templates basically define the interaction between XML and XSLT. XSLT uses templates and their instructions to pull specific information out of an XML document.
Match Patterns vs. Apply-Templates Select: Match patterns define a list of nodes that you want to be included in the result document (AKA result tree). I'm still a little shady on this, I guess I'm wondering what exactly an XPath means.... I guess this question gets to the heart of my confusion: What is the difference between specifying a "match" pattern and specifying the "select" option in an "apply-template" instruction? It seems like both of them go through XML and pull out the specified values....
Comments