XPath/XSLT 2.0?

Is xMII planning to support XPath/XSLT 2.0?  Any idea when?
In xMII 12.0, are custom actions provided their own classloader?  Or do they share a classloader with the core actions?  In other words, can we include Saxon 8 (XPath/XSLT 2.0) in our custom action bundle without interfering with the core actions?
-tim

Tim,
I have confirmation on this from our dev. team for v12; here's what was relayed to me:
No, Custom actions are in a separate class loader.   However the custom action class loader always tries to load a class first from the application class loader.  This means if the class already exists in the class path you cannot replace it.  Your new class will be ignored.
Hope this helps to clarify...
Sam

Similar Messages

  • XPath+XSLT: Re-adding parts of the document after XPath eval. (fragment)

    Hello all,
    Sorry, I know that this is not strictly a Java related problem, but who knows if there are standard API functions for that...
    Imagine this simple XML document:
    <document>
       <meta>
         [some deeper structs]
       </meta>
       <content>
          <chapter id="1">
          </chapter>
          <chapter id="2">
          </chapter>
          <chapter id="3">
          </chapter>
       </content>
    </document>Normally, I transform the entire document via XSLT e.g. to XHTML. But if I want just to extract e.g. the first chapter using XPath evaluation, I do not have other "static" parts of the document, e.g. the meta part or the document root.
    Currently, I am adding this very complicated by having the XPath evaluation as a string and by prepending and appending the "static" part in order to have a fully working XSL transformation (e.g. "<document><meta>[...]</meta><content>" + xpathEval + "</content></document>")...
    Are there any best practises? I think using XPath is very nice for this kind but maybe the wrong way and I should filter another way? Hope there is an elegant way whith sticking to XPath though...
    Thanks and regards,
    Timo

    Rehi DrClap,
    Thanks for your reply.
    Yes, that is pretty fine, but the problem is that I have some "static" parts like the "meta" tree are outside the "chapter n" tree.
    And just selecting for my chapter will result in just that tree but not the entire document pattern including the document root and the meta part.
    XSLT being more SAX'ish, I think I have to rebuild my document using DOM in a way that I do some consecutive XPath selections like for meta and chapter, create the root node, append them and then XSL transform that new document. However, that are much steps and not good for larger documents.
    Thx and regards,
    Timo

  • Which java package conform to xpath&xslt 2.0 specification?

    Or any conforming packages is close to release?
    thanks..

    There's currently no support for XPath 2.0/XSLT 2.0 in JAXP or in the JDK. The only free implementation I know of is Saxon. I believe you should be able to install it on top of JDK 5 or JDK 6. Hope this helps.

  • XSLT or Scripts (Mac -Indesign CS3)

    Good Morning Everybody,
    We are planning now to move our Journal (XML) production into Indesign CS3.
    I've been successfully (though with limitations, as I am newbie in Indesign) implemented our books productions into Indesign CS2. This has been achieved thru using XSLT and Javascript expertise.
    I've fair knowledge of XML features, like xpath, xslt, XSL, XSL:FO and Javascript though I still learning new things when it comes to use Javascripts in Indesign.
    Well coming back to my query regarding Journals in Indesign, I am writing a style sheet, which transforms the xml input with all required formatting (paragraph, character styles), data manipulations, successfully inserting the punctuations specially in references, which can imported into INDCS2.
    When it comes to informations like "Running Heads", "Journal informations, like volume, print issn, electronic issn" author infos in 2nd page onwards etc etc...In all these cases, I would prefer to use the XSLT (XML contains all these info) instead of scripts, simply because of reason, which I mentioned earlier that I am newbie in using Javascript in Indesign and there are may be some limitations of scripts in Indesign (Although thanks to Adobe for introducing XPath in CS3).
    It was pretty easy for me to tackle/automate all these issues in other pagination platform (and the template was generic) using various scripts, XML features etc, but as I said we would also like to transit few of our journals into Indesign CS2/CS3
    I've also tried to search the forum for possible answers but not very successfully. Can somebody suggest/guide how we should go about it? I don't mind to using scripts, if it is the best way of handling and developing a generic template. Or may be to look into other plug-ins, languages to make it successful.
    Apology for writing such a long details but I thought I should made it clear what I am looking for.
    Any help/guidance in this regard will be highly appreciated.
    Pankaj

    Hello,
    I am just testing my "Subscribe to this discussion by email" settings...
    Looking forward to hear from you soon.........

  • OSB XSLT testing issue

    I am using the ALSB XQuery/XPath/XSLT Expression Testing functionality of the service bus console. However when I click execute I just get
    "Error executing the transformation: java.lang.NullPointerException" and no details. I looked at the log files at
    <domain_home>/servers/AdminServer/logs/ but I don't see any details.
    Any hints about what may be going wrong here ?

    Hi there, before going to the workmanager, can anyone explain about the socket listner? It seems like my socket listner is fully occupied when load comming in.
    Basically it seems like not releasing the socket. Can i know by defult how the socket works in WLS? I am lost, because from my understanding, each socket is base on one connection means when it reach the JMS it will ends the process and close the listner. Then when JMS proxy picking the message in the queue will perform one by one means consume the socket one by one.
    For e.g:
    1. JMS proxy pick up message>"one socket consumed">send to business service > wait for respone > respone return >"socket close"
    2. JMS proxy pick up message>"one socket consumed">send to business service > wait for respone > respone return >"socket close"
    so each time will used only one socket per transaction am i rite?
    and i received below message from the domain log
    ####<Jul 20, 2010 3:50:25 PM SGT> <Warning> <Socket> <selbgixb50ut002> <CGISOSB_MS1> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1279612225183> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 5 secs>
    ####<Jul 20, 2010 3:50:25 PM SGT> <Warning> <Socket> <selbgixb50ut002> <CGISOSB_MS1> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1279612225183> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 5 secs>
    I am really lost. Recommanded setting for basic Ascync process needed, and i am using the default connection factory, will this cause the problem?

  • Xpath package is very slow slow slow

    I am parsing a 168 KB xml document, this document has 300 nodes
    and each node has 22 attributes.
    If I use the xpath package ( valueof ( ) ) function, it takes 5
    minutes to parse the document.
    If I use xmldom calls it only takes 9 secs.
    Is it something wrong with the xpath package ?
    Does anyone alse has seen this problem before ?
    Thanks

    The XPATH packages is a thin layer of helper routines that I
    built while writing my
    Building OracleXML
    Applications book. They turn around and call routines in the XSLPROCESSOR package.
    Signficant performance improvements in our XPath/XSLT processing
    have been made in the XDK 9.0.2. Are you using the latest XDK
    for your testing, XDK 9.0.2D from OTN ?
    You'd want to download/install the XDK 9.0.2D for PL/SQL to
    notice the improvement. Thanks for your answer.. I will download the XDK...

  • Query in a large xml file

    Hello,
    I'm trying to work with very large xml files which are created from csv files. These files may be very large - up to 1 GB ! Untill now I have managed to do several validations on these big xml files, and the only thing that works for me is SAX parser, DOM is out of the question because it fills up memory.
    My next task is to do queries on these files, smth like:
    select field1,field2 from file.xml
    where field3 = 'A'
    and (fileld4>'B' or field1='C')
    order by field2.
    I searched the net about finding out how to make queries on xml files (since I have never done queries on xml before), but I couldn't find which "query language" is best for large files. If I use XPath (XSLT) will that not cause me memory problems because XSLT represents the file as a memory object?
    My idea is to parse the file with SAX and check every row if it fits the where condition and then write it immediately to a result xml file. But validating the where statement can be very complicated without using some tool. Also the order by statement is another problematic issue.
    Does anyone have some more intelegent ideas about how I can do this? Please help! :(
    The xml file looks like this:
    <doc>
    <row id ="1">
    <column id="1" name="column1">value</column>
    <column id="N" name="columnN">value</column>
    </row>
    <row id ="M">
    <column id="1" name="column1">value</column>
    <column id="N" name="columnN">value</column>
    </row>
    </doc>

    Hi all,
    Thank you very much for your replies.
    First, saxon didn't work because it uses an in-memory parser, and that is what I was trying to avoid.
    Different database is also out of the question, because the customer insist on XML, and also there are some files that can never be converted to a database table, because eventually with some transformations thay are changed and are not completely like the standard csv format.
    I think that maybe http://exist.sourceforge.net is the rigth solution for me, but I will probably try it in the next version of my project.
    For now I have managed to make the project with only SAXParser and a lot of back - end programming and it works ok, althoug it was very hard to make it, and will be harded to maintain, so I will try to look at the eXist project.
    Thanks everyone for the help.

  • XML DevCon 2001: Submit schema and stylesheet problems- win XML Spy

    There are only a few days to submit schema and stylesheet problems for XML
    DevCon 2001 in London. If the workshop instructors use your submission
    during the conference, you win a copy of XML Spy.
    <shamelessPlug>
    XML DevCon 2001 has a content-rich technical program with a faculty that
    includes Henry Thompson (W3C Fellow), Peter Chen (IEEE Fellow, ACM
    Fellow),
    Martin Bryan (DIFFUSE Project), and authors such as Bob DuCharme, Ian
    Graham, Elliotte Rusty Harold, G. Ken Holman, Benoît Marchal, JP
    Morgenthal,
    and Simon St. Laurent. There are a variety of eBusiness sessions,
    including
    panel discussions and presentations about ebXML, Web Services, and UDDI.
    The program includes presentations by Jonathan Borden, Ron Bourret, Lee
    Buck, Alex Chaffee, Mark Colan, John Evdemon, Meike Klettke, Andy
    Longshaw,
    Ingo Macherius, Simon Nicholson, David Orchard, Sebastian Rahtz, Daniel
    Rivers-Moore, Michael Rys, Krishna Sankar, Matt Sergeant, Richard Tobin,
    Priscilla Walmsley, David RR Webber and other distinguished faculty.
    </shamelessPlug>
    http://www.xmldevcon2001.com/London/html/conference.php
    For a free pass to exhibits and special events (keynotes, joint XML UK and
    British Computer Society meeting, OASIS XPath/XSLT meeting, vendor
    presentations):
    http://www.xmldevcon2001.com/London/html/special_events.php
    Public submissions (schemas and stylesheets)
    Three members of the W3C Schema Working Group (Michael Rys, Henry
    Thompson, Priscilla Walmsley) will teach a Schema Workshop. Submit
    problem schemas to them by e-mail:
    [email protected]
    or
    http://www.xmldevcon2001.com/London/html/session.php?code=W5
    Sebastian Rahtz, Bob DuCharme, Benoît Marchal, and Ken Holman will
    present the "Stylesheets and Transformations: Best Practices" workshop on
    Thursday, February 22 in London. To submit a stylesheet or problem
    description for their workshop:
    [email protected]
    or browse to:
    http://www.xmldevcon2001.com/London/html/session.php?code=T17
    ========== Ken North ======================
    See you at Javacon 2001 (New York, March 1)
    www.javacon2001.com
    XML DevCon 2001: London (February 21-23) New York (April 8-11)
    www.xmldevcon2001.com
    =======================================

    Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?

  • XQuery and Oracle XE ...

    Hi all,
    One of the major differences between "DB2 Express-C" and "Oracle XE" seems to be, support for XML and XQuery in particular. If I read this right "Oracle XE" is a purely "relational database" whereas "DB2 Express-C" is a "hybrid". (relational and XML).
    With the aggressive adoption of various XML technologies (XML, XSD, XPath/XSLT, Xquery ...) we could be seeing a whole new category of "XML rich" or "XML enabled" apps. In this environment, I would like to see Oracle take a leadership position and release a small-footprint, free edition with support for XQuery. It would be helpfull for the "innovators" and would certainly help Oracle sell their bigger DB's down, the line.
    Oracle's current position w.r.t "Oracle XE" is certainly baffling. Hopefully someone at Oracle can reply.
    Regards
    /rk

    >
    Your suggestion of trying XQuery commands in sql*plus or isql*plus would make sense if there was fundamental support for XQuery in the targetted instance of "Oracle XE". The "datasheet" on "Oracle XE" has absolutely no mention of XQuery.
    >
    My question was: Are we talking about a documentation bug or is the XQuery feature really missing in the XE edition?
    >
    On the other hand IBM's "DB2 Express-C" is an aggressive, uptodate "hybrid" DB with builtin support for XML (XMLType, XQuery ...) in addition to the proven "relational" model.
    >
    That's nice - now if IBM would finally include basic stuff like MVCC or a SP/Trigger/Application-Language like PL/SQL, DB2 Express-C would really become attractive for developers like me. Until then, I think I'll stick with the limits of XE or consider a switch to SE1 if I get the required funding.
    C.

  • Lookup-table and query-database do not use global transaction

    Hi,
    following problem:
    DbAdapter inserts data into DB (i.e. an invoice).
    Process takes part in global transaction.
    After the insert there is a transformation which uses query-database and / or lookup-table.
    It seems these XPath / XSLT functions are NOT taking part in the transaction and so we can not access information from the current db transaction.
    I know workarounds like using DbAdapter for every query needed, etc. but this will cost a lot of time to change.
    Is there any way to share transaction in both DbAdapter insert AND lookup-table and query-database?
    Thanks, Best Regards,
    Martin

    One dba contacted me and made this statement:
    Import & export utilities are not independent from characterset. All
    user data in text related datatypes is exported using the character set
    of the source database. If the character sets of the source and target
    databases do not match a single conversion is performed.So far, that does not appear to be correct.
    nls_characterset = AL32UTF8
    nls_nchar_characterset = UTF8
    Running on Windows.
    EXP produces a backup in WE8MSWIN1252.
    I found that if I change the setting of the NLS_LANG registry setting for my oracle home, the exp utility exports to that character set.
    I changed the nls_lang
    from AMERICAN_AMERICA.WE8MSWIN1252
    to AMERICAN_AMERICA.UTF8
    Unfortunately , the export isn't working right, although it did change character sets.
    I get a warning on a possible character set conversion issue from AL32UTF8 to UTF8.
    Plus, I get an EXP_00056 Oracle error 932 encountered
    ORA-00932: inconsistent datatypes: expected BLOB, CLOB, get CHAR.
    EXP-00000: export terminated unsuccessfully.
    The schema I'm exporting with has exactly one procedure in it. Nothing else.
    I guess getting a new error message is progress. :)
    Still can't store multi-lingual characters in data tables.

  • How to create several colums if many rows

    Hi,
    I have a problem with finding a technical solution. If I have more than 30 records, I want to put them in the next column. How do I do this in xsl (HTML output):
    |PCS|REV|DATE | |PCS|REV|DATE |
    | 1 | 1 |xx.xx.xx| | 5 | 1 |xx.xx.xx|
    | 2 | 1 |xx.xx.xx| | 6 | 1 |xx.xx.xx|
    | 3 | 1 |xx.xx.xx| | 7 | 1 |xx.xx.xx|
    | 4 | 1 |xx.xx.xx|
    Is this something you can help me with?
    Where can I learn more about xsl, xpath, xml, xslt etc?

    My book Building Oracle XML Applications has a technical introduction to XML, XML Namespaces, XPath, XSLT, and contains 17 chapters of examples of using these technologies together with the Oracle XML platform in Java, PL/SQL, and with XSQL Pages. You can checkout reviews at: http://www.amazon.com/exec/obidos/ASIN/1565926919
    Here's a solution to your XSLT problem.
    Given an XML source like:
    <terje>
    <rec rev="a" date="xx.xx.xxxx"/>
    <rec rev="b" date="xx.xx.xxxx"/>
    <rec rev="c" date="xx.xx.xxxx"/>
    <rec rev="d" date="xx.xx.xxxx"/>
    <rec rev="e" date="xx.xx.xxxx"/>
    <rec rev="f" date="xx.xx.xxxx"/>
    <rec rev="g" date="xx.xx.xxxx"/>
    <rec rev="h" date="xx.xx.xxxx"/>
    <rec rev="i" date="xx.xx.xxxx"/>
    <rec rev="j" date="xx.xx.xxxx"/>
    <rec rev="k" date="xx.xx.xxxx"/>
    <rec rev="l" date="xx.xx.xxxx"/>
    <rec rev="m" date="xx.xx.xxxx"/>
    <rec rev="n" date="xx.xx.xxxx"/>
    <rec rev="o" date="xx.xx.xxxx"/>
    <rec rev="p" date="xx.xx.xxxx"/>
    <rec rev="q" date="xx.xx.xxxx"/>
    <rec rev="r" date="xx.xx.xxxx"/>
    <rec rev="s" date="xx.xx.xxxx"/>
    <rec rev="t" date="xx.xx.xxxx"/>
    <rec rev="u" date="xx.xx.xxxx"/>
    <rec rev="v" date="xx.xx.xxxx"/>
    <rec rev="w" date="xx.xx.xxxx"/>
    <rec rev="x" date="xx.xx.xxxx"/>
    <rec rev="y" date="xx.xx.xxxx"/>
    <rec rev="z" date="xx.xx.xxxx"/>
    <rec rev="aa" date="xx.xx.xxxx"/>
    <rec rev="ab" date="xx.xx.xxxx"/>
    <rec rev="ac" date="xx.xx.xxxx"/>
    <rec rev="ad" date="xx.xx.xxxx"/>
    <rec rev="ae" date="xx.xx.xxxx"/>
    <rec rev="af" date="xx.xx.xxxx"/>
    <rec rev="ag" date="xx.xx.xxxx"/>
    <rec rev="ah" date="xx.xx.xxxx"/>
    <rec rev="ai" date="xx.xx.xxxx"/>
    </terje>the following stylesheet renders the columnized output as you want, with a parameterizable number of records per column.
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!--
    | This controls the number of records in a column and can
    | be changed by passing in a new value from outside the stylesheet
    +-->
    <xsl:param name="per-col" select="30"/>
    <!-- Calculate the number of columns we'll need based on $per-col -->
    <xsl:variable name="num-col" select="ceiling(count(terje/rec) div $per-col)"/>
    <xsl:template match="/">
    <html>
    <body>
    <table border="1" cellspacing="0">
    <tr>
    <!-- Print a heading for each column we need -->
    <xsl:apply-templates mode="header"
    select="terje/rec[position() mod $per-col = 1]"/>
    </tr>
    <!-- Process all the records in the FIRST column in "row" mode -->
    <xsl:apply-templates mode="row"
    select="terje/rec[$per-col >= position()]"/>
    </table>
    </body>
    </html>
    </xsl:template>
    <!--
    | Process the current "rec" element and all following sibling <rec>
    | elements that are a multiple of $per-col away from the current one
    +-->
    <xsl:template match="rec" mode="row">
    <tr>
    <xsl:variable name="rowrecs"
    select=".|following-sibling::rec[position() mod $per-col = 0]"/>
    <xsl:variable name="num-rowrecs" select="count($rowrecs)"/>
    <xsl:apply-templates select="$rowrecs"/>
    <!--
    | If the number of columns is greater than the recs in this row
    | then generate an empty row to avoid blank table cells
    +-->
    <xsl:if test="$num-col > $num-rowrecs">
    <xsl:call-template name="empty-row"/>
    </xsl:if>
    </tr>
    </xsl:template>
    <xsl:template match="rec">
    <td><xsl:value-of select="count(preceding-sibling::rec)+1"/></td>
    <td><xsl:value-of select="@rev"/></td>
    <td><xsl:value-of select="@date"/>&lt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ;/td>
    </xsl:template>
    <xsl:template match="rec" mode="header">
    <th>PCS</th><th>Rev</th><th>Date</th>
    </xsl:template>
    <xsl:template name="empty-row">
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    </xsl:template>
    </xsl:stylesheet>Hope this helps.
    Steve Muench
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • XML fields importing in separate rows in Excel

    When importing the *.xml files from a returned form into Excel 2010, the fields correctly populate into columns, but each field also gets a separate row. It seems the xml is specifying a 'new row' for each field, when it isn't required. This creates a diagonal display of information (headers along row 1, info in A2, B3, C4, D5...)
    When I import multiple *.xml, i get multiple diagonal displays, which look pretty, but aren't very functional.
    Any ideas on how to get this to display correctly?
    Thanks

    Hello, Allan:
    Thanks for the reply...I never would have divined the
    SQL statement that you provided:)
    IMHO, learning how to mix SQL with XML-related stuff
    seems to be non-trivial in many cases. Even for the
    people who who XPath/XSLT the exact SQL syntax is not
    necessarily obvious:(
    Is there a tutorial/FAQ that provides lots of examples
    that illustrate useful/interesting tips/techniques?
    I think many people would benefit from such an FAQ.
    For the truly ambitious, this could be the start of
    an interesting book (e.g., "XML and SQL in Oracle").
    Regards,
    Oswald

  • XML Rule + JS example: group elements under new parents

    Thanks again to everyone here for helping me get started! I'm now making real progress. In token of my appreciation, here's something that hopefully will eventually help others.
    I've worked out how to use the XML Rule facility (together w/ some JS management) to collect groups of XML elements and create new parent elements containing each group.
    The sample code here demonstrates several things in both JavaScript and InDesign Script, including:
    Use of the XML Rules facility to quickly retrieve data from the XML structure
    Use of the following-sibling XPath facility to obtain same-level XML elements
    Creating XML tags, parent elements, and moving elements
    Multi-dimensional JS array for managing XML elements
    By the way, here are a few more things that were not obvious to this noob (I'm sure they are documented; just took time to find them...)
    In the InDesign script editor, you can bring up the Object Model Viewer by pressing F1
    In the object model viewer, you must click below "Browser" and select the InDesign Object Model before doing a search
    At the following link is a list of links to incredibly valuable documents and a huge collection of "Scripting Guide" sample scripts. http://www.adobe.com/products/indesign/indepth.displayTab2.html#Scriptingresources
    Using try { xyzzy; } catch (myErr) { alert(myErr); }  ... is your friend
    Below is a description of what my sample code actually accomplishes. But first, here are some things I learned about the XML Rules facility. Probably obvious to someone who has used this before but hey, I'm new to this:
    You create a set of XML Rules and pass them to the "glue code." Each time the set of rules is run, a single (potentially complex) traversal is made through the XML Structure.
    The implication of #1 is that for any given element in the structure, the first rule that matches the element will process it. Thus, the sequence of rule definitions is always important. This both simplifies and sometimes makes more complex how one designs a set of rules.
    An example in my case:
    I wanted to collect all elements at one level into "groups", with a particular (known) tag as the first element in each group.
    It was pretty clear how to find the known tag; use an XPath like "/devices/name" if the tag is "name" underneath "/devices."
    But how to collect the intervening tags? In normal XPath/XSLT syntax, this is a bit complicated. But in the XML Rule system, it's actually easy...
    Since the first rule will always collect every "name" element, my second rule becomes simply "/devices/name/following-sibling::*" which means "collect all siblings after the 'name' element. Normally, that would include following name elements as well, but it does not do so here since the first rule collects those.
    Don't bother trying to rearrange the XML structure from within XML Rule processing. In certain limited situations it can work... but it is just as easy, and quite reliable, to collect the needed info during XML Rule processing, then make the structure changes as a later step.
    The MakeXMLGroups(myXPath,myParentTag,myHeadTag) function changes:
    Devices
       Name
       Type
       Desc
       Name
       Quantity
       Type
       Desc
       Name
       Desc
    To:
    Devices
      Device
          Name
          Type
          Desc
      Device
          Name
          Quantity
          Type
          Desc
      Device
           Name
          Desc
    In this case, the function call was MakeXMLGroups("/Devices","Device","Name").
    (NOTE: I'm on personal travel this week so may not get back to answer questions until next week...)
    Here are links to the necessary files:
    http://ds.org/files/adobe/MakeXMLGroups.jsx
    http://ds.org/files/adobe/grpXMLRulesExampleSetup.jsx
    http://ds.org/files/adobe/grpXMLRulesExampleData.xml
    Message was edited by: SLTyPete to insert file links

    Hi John,
    1) I like that the new model adds parameterization. It's cleaner than pulling in parameters from pre-set variables. However, the given example didn't actually make much use of it. The only non-constant parameter multiply-used in the example is the "table" variable. Seems like a lot of work for not a lot of gain, at least in this case?
    2) I am cautious that this new template/model condenses the paradigm sooo much, that it is no longer clear where XPath is involved vs straight constant tag names. Yes, Adobe's example is overly-expanded but that's common in code meant to be a demonstration.
    3) I also am cautious that the example intermingles direct node creation into the XPath search/processing chain. I've learned to be VERY careful with this. It only can work when the changes made do not interfere with the rule processing. In my model, I simply avoid it completely (by not making node-position or node-add/remove/move changes until after tree parsing is complete.) This will always be a safe model.
    Bottom line: while I very much appreciate the parameterization and lintability (is that a word? Sure makes sense to me )... I think I would still define each rule separately rather than bring them all together as an inline array in the rule processing call. To me it seems sooo condensed that the XPath meaning can become lost. (Would someone recognize that //para/section-head is actually an XPath statement that could (in another situation) be //para/* or //para/following-siblings::* ... while some of the other strings are exact-match tag names?)
    I realize this is all a matter of style... my preference: clarity for the future reader, particularly when the future reader is me a year later who forgot what all those parameters and embedded methods were all about ...
    Blessings,
    Pete

  • Does SOA BPEL 11.1.7.0 support XPath 2.0 in XSLT mapping?

    Dear Oracle support,
    I am using SOA Suite 11.1.1.7.0 (local development) and 11.1.1.6.0 (in production, but will upgrade to 7). I came to the requirements need to do very complicated mapping using XSLT in BPEL. I would like to use some features of XPath 2.0.
    Does SOA 11.1.1.6.0 or 11.1.1.7.0 have supported XPath 2.0? If not yet, is there any plan to support in the future?
    Thank you in advance for your response,
    Alena Li

    Hi Alena Li,
    Firstly, this is not Oracle support, this is Oracle forums...
    https://wikis.oracle.com/display/Forums/Forums+FAQ
    SOA supports *some* features of XPath 2.0 in XSLT, the infrastructure also supports XSLT 2.0, but JDEV mapper does not...
    Check docs here...
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_appx_functs.htm#SOASE2127
    Cheers,
    Vlad

  • XPath function failed in XSLT (OSB 10.3.1)

    Platform : OSB 10.3.1 in Windows XP
    Error : Test following XSLT scripts in OSB Console by getting error
    Error executing the XSLT transformation: java.lang.NoSuchMethodException: For extension function, could not find method weblogic.apache.xpath.axes.WalkingIteratorSorted.upper-case([ExpressionContext,] ).
    XSLT :
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fn="http://www.w3.org/2004/07/xpath-functions"
         xmlns:imp1="http://www.example.org/FaultMessage">
    <xsl:template match="/">
              <imp1:FaultMessage>
                   <imp1:code>
                        <xsl:text disable-output-escaping="no">Hard-Coding-Error-Code</xsl:text>
                   </imp1:code>
                   <imp1:summary>
                        <xsl:value-of select="/imp1:FaultMessage/imp1:summary" />
                   </imp1:summary>
                   <imp1:detail>
                   <xsl:value-of select="fn:upper-case(/imp1:FaultMessage/imp1:detail)" />
    </imp1:detail>
         </imp1:FaultMessage>
    </xsl:template>
    </xsl:stylesheet>
    Any ideas?
    Thank you
    -Simon
    Edited by: user10981433 on Jun 11, 2009 9:05 PM

    exporting and importing your osb projects to the new environment won't migrate the webservice you were calling from within the Oracle Service Bus.
    if these were created in Eclipse too you can just regenerate an ear-file from them or use the build-scripts to deploy them to you new Weblogic Server.
    don't mix up 2 things
    the osb is only intermediar in here, so you can export/impot the resources from your osb workspace for these.
    but if your process call any external webservice, the webservice itself will also need to get redeployed to the new enviroment, and this is something which has nothing to do with your osb projects.
    it could be these webservice are also build in Eclipse, but they won't be part of the export/import of OSB.
    so check if you have some build.xml script in these webservice projects so you can regenerate the ear archive, or try importing the project in your workspace (if not already done) and rightmouseclick on it > export > ear file
    and use this ear file to deploy the webservice again in the Weblogic Console ( see : http://docs.oracle.com/cd/E13218_01/wlp/docs81/prodOps/deployment.html )

Maybe you are looking for

  • Bank Reports

    Hi Experts, i want a report of banks when i choose a bank the following fields should come 'Posting Date', 'JE Transaction No', 'Payment Transaction No', 'BP Account ', 'BP Name ', 'Credit/ Debit Amount', Cumulative balance'. Please write the queery.

  • How to generate HTML from XML and XSL?

    Hi all, I am new to XML. Can I somehow see the HTML-Output of the XML-File, when I have the XSL-File too, but don't use any XML-Editor (XMLSpy) and FOP? I do not want use any additional tools - only the database tools. What I need for this? Do I need

  • JSF 1.2 and JSTL 1.2

    Now that JSF 1.2 and JSTL 1.2 both use the new unified EL is it possible to use them together? I know they could be used together before but it was discouraged. I'm mostly interested in the functions and the loops (although Trinidad seems to be worki

  • Showing the dock in fullscreen apps.

    This is driving me crazy and it appears to just show up randomly after i hover the mouse over it. Anyone else having problems with making the dock appear in full screen?

  • Stateful ARFC2 transaction in Webdynpro for Java ?

    Hi, The code in wdInit like this executed input and input1 in different r3 session. Arfc2model model = new Arfc2model(); Rfc_input input = new Rfc_input(model); input.execute(); Rfc_input input1 = new Rfc_input(model); input1.execute(); How to implem