Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Support for XSLT 2.0?

user542731Oct 24 2008 — edited Oct 25 2008
I asked this on the SOA Suite forum but got no answer....How about here.



JDeveloper 10.1.3.4



I'm running SOA Suite 10.1.3.3 MLR7. Does this support XSLT 2.0? I want to use a <strong>for-each-group</strong> construct.



I've done a very simple test case in ESB but the transformsation is failing with a WSIF error about the Input Source being null. I take this to mean that the Transformation failed.



Thanks,



Stylesheet below:



&lt;xsl:stylesheet version="2.0"

xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"

xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"

xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"

xmlns:tns="http://oracle.com/esb/namespaces/POCXSLT20"

xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"

xmlns:ns0="http://www.w3.org/2001/XMLSchema"

xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"

xmlns:inp1="http://toll.com.au/poc/xslt20"

xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"

xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:ora="http://schemas.oracle.com/xpath/extension"

xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/PersonFileOut/"

xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"

xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"

xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"

exclude-result-prefixes="xsl tns ns0 inp1 plt jca ns1 hdr bpws ehdr hwf xp20 xref ora ids orcl"&gt;

&lt;xsl:template match="/"&gt;



&lt;xsl:<strong>for-each-group</strong> select="inp1:Person" group-by="inp1:Person/inp1:department"&gt;

&lt;xsl:value-of select="current-grouping-key()"/&gt;

&lt;xsl:text&gt;

&lt;/xsl:text&gt;

&lt;/xsl:for-each-group&gt;



&lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2008
Added on Oct 24 2008
2 comments
635 views