Workshop
Quiz
Which of the following XSL elements will insert a node into the output structure?
<xsl:otherwise>
<xsl:comment>
<xsl:choose>
All of the above
Which of the following XSL elements is used to insert segments of JavaScript code into the XSL file?
<xsl:choose>
<xsl:eval>
<xsl:script>
<xsl:pi>
b and c
Answers
Exercises
Modify listing15-3.xml by adding two additional data entries. Give the BestSeller attribute of one entry the value "possibly" and give the other one the value "probably". Modify listing15-4.xsl to handle the additional options. Test your code.
Modify listing15-3.xml by including a "Temperament" attribute to the <Author> tag. Assign it ...
Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.