You need to choice model statement to extract data from XML, is a simple method of obtaining data, which has a select number of tag attributes, select the XML node in a specific named data.
Code:
<xsl:for-each>
<author>
<name> abc </ name>
<name> qwe</ name>
<name>fre</ name>
</ author>
You have to read the names of these three authors, is one by one according to "author / name" method to read the do, they can have multiple occurrences of this name. To right, XSL provides a programming language such as the nature of the statement: <xsl:for-each>
Code:
<xsl:for-each select="author/name">
</ xsl: for-each>
it can only select a specific XML tags, you can also choose a certain category of the same tag, which we call node set.
Bookmarks