The XML format is like this
<xsl:apply-templates select="ci:correction"/>Code:<cc:correction date='20090303' type='text'>AAA</cc:correction><cc:correction date='20090308' type='text'>BBB</cc:correction>
XSL is as below.
The attribute value only AAA is stored.Code:<xsl:template match="cc:correction"> <p:metadata name="correction"><xsl:value-of select="."/></m:metadata> </xsl:template>
How to loop throught the XML and store the value of "date" attribute for each <cc:correction>




Bookmarks