36. Exercise 9 (continued)

Update your answer to exercise 9 so that it only updates the individual elements that need to be changed.

Code hints:

If the current context item is a node “under” ixsl:page(), you can update it directly with the special href value “?.”. For example:

<xsl:template match="li[@x-quantity]">
  <xsl:result-document href="?." method="ixsl:replace-content">
    <!-- compute new list item here -->
  </xsl:result-document>
</xsl:template>