- <xslt:for-each select="exsl:node-set($parsedroot)/node()">
- <xslt:choose>
- <xslt:when test="self::*">
- <xslt:copy>
- <xslt:attribute name="书社:cksum">
- <xslt:value-of select="$CKSUM"/>
- </xslt:attribute>
- <xslt:copy-of select="@*|node()"/>
- </xslt:copy>
- </xslt:when>
- <xslt:otherwise>
- <xslt:copy-of select="."/>
- </xslt:otherwise>
- </xslt:choose>
- </xslt:for-each>
+ <xslt:element name="书社:parsed">
+ <xslt:element name="书社:result">
+ <xslt:copy-of select="$result"/>
+ </xslt:element>
+ <xslt:element name="书社:metadata">
+ <xslt:element name="rdf:RDF" namespace="&rdf;">
+ <xslt:element name="rdf:Description" namespace="&rdf;">
+ <xslt:copy-of select="$about"/>
+ </xslt:element>
+ </xslt:element>
+ </xslt:element>
+ </xslt:element>