xml namespaces - Referencing external XSLT libraries in OSB -
an oracle service bus 12c project uses xsl transformation, , in it, exsl.org functions. namespace included in xsl file this:
xmlns:exsl="http://exslt.org/common"
then, xsl trying use 1 of them exsl functions this:
xsl:value-of select="count(exsl:node-set($temp)/g:w)">
as can see weblogic log, doesn't work: xml-22015: (error) function 'http://exslt.org/common:node-set' not found.
we've had similar problems before , solution change namespace. example, able use java format method declaring following namespace (i'm omitting http since stackoverflow doesn't it): www.oracle.com/xsl/transform/java.text.format , didn't work this: www.oracle.com/xsl/transform
so wonder correct namespace node-set or how find out future cases. our system not have internet connection, suspect these libraries stored somewhere , these namespaces serve keys mappings anyway, pointing offline location (?)
okay, solution not use nodeset altogether. tree fragment nodeset conversions implicit in xslt 2.0, needed change version 2.0 omit nodeset function.
Comments
Post a Comment