The class net.sf.saxon.om.NamePool contains a method with this signature:
public static String[] parseClarkName(String expandedName) {..}
Here's an example of how to call it from XSLT:
<xsl:variable name="parts" select="np:parseClarkName('{http://saxon.sf.net}evaluate')"
xmlns:np="java:net.sf.saxon.om.NamePool"/>
<xsl:for-each select="$parts">
<part><xsl:value-of select="."/></part>
</xsl:for-each>
The output is:
<part>http://saxon.sf.net</part>
<part>evaluate</part>
For further information on calling Java extension functions in Saxon, see
http://www.saxonica.com/documentatio...functions.html
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference