Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as XML by archimag ( 16 years ago )
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl">
<xsl:key name="nodes" match="/Message/Body/Changes/Data/*" use="local-name(.)" />
<xsl:template match="/">
<xsl:for-each select="/Message/Body/Changes/Data/*[generate-id(.)=generate-id(key('nodes', local-name(.)))]">
<exsl:document href="output2/{local-name(.)}">
<xml-select>
<xsl:copy-of select="key('nodes', local-name(.))" />
</xml-select>
</exsl:document>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Revise this Paste