Id-to-xml-id.xslt

This stylesheet changes id= attributes to xml:id= attributes. That is all. 

     WARNING: deleting the existing xml:id= attribute of &lt; id=>.      <xsl:copy-of select="attribute::*[not(name='id') and not(name='xml:id')]"/> <xsl:apply-templates select="./*|./text|./processing-instruction|./comment"/> </xsl:element> </xsl:template> </xsl:stylesheet>

Syd 06:52, 26 May 2006 (BST)