Due to work needs, XML XSL has been learning. Here are some notes.
1.xsl syntax:
XPath: match = "a" Match a Node Match = "(A | B)" Matches A and B Nodes (and) Match = "A / / B" Match ... B> B node, that is, the B node of the parent node
Select the ELE element value under Context and display it.
xsl: if>
Test the status in the Bool Statement, meet the code segment that runs.
xsl: for-energy>
The most common cycle statement, select the ELE element under Context and loop