I don't know off-hand of changes in xslt between 7 and 8. Something like this in 8 is what I was thinking, don't know if it is really what you need:
let $doc := (: blah blah blah :) let $xslt := <xsl:stylesheet version="2.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" xmlns:ir="incisive-repository"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <xsl:template match="ir:HTML[preceding-sibling::ir:HTML]"></xsl:template> </xsl:stylesheet> return xdmp:xslt-eval ($xslt, $doc)
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
