Changeset 272 for rfc2629xslt/rfc2629grddl.xslt
- Timestamp:
- 06/07/08 13:57:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629grddl.xslt
r246 r272 61 61 </rdf:Description> 62 62 63 <xsl:for-each select="//rdf:Description"> 64 65 <rdf:Description> 66 <xsl:attribute name="rdf:about"> 67 <xsl:choose> 68 <xsl:when test="@rdf:about"> 69 <xsl:value-of select="rdf:about"/> 70 </xsl:when> 71 <xsl:otherwise> 72 <xsl:value-of select="concat('#',ancestor::*[@anchor][1]/@anchor)"/> 73 </xsl:otherwise> 74 </xsl:choose> 75 </xsl:attribute> 76 77 <xsl:if test="not(dc:title) and ancestor::section[@title]"> 78 <dc:title><xsl:value-of select="ancestor::section[@title][1]/@title"/></dc:title> 79 </xsl:if> 80 81 <xsl:copy-of select="*"/> 82 83 </rdf:Description> 84 85 </xsl:for-each> 86 63 87 </rdf:RDF> 64 88 </xsl:template>
Note: See TracChangeset
for help on using the changeset viewer.