Oracle-xsl-mapper-position

What is the exact use of oracle-xsl-mapper-position in xslt?
Can you please help with some example.
Thanks in advance

oracle-xsl-mapper-position in xslt to find out the position of a node in a loop.
For e.g.
<Array>
     <String1></String1>
     <String2></String2>   
</Array>
Now if we want the position of each node in Array then we use the position() function.
Regards,
Anshul

Similar Messages

  • How to configure the Oracle XSL Mapper for ‘schemaLocation’ attribute?

    In the Transformation_1.xsl I need to have the ‘schemaLocation’ attribute defined as such:
    <inc:CaseIncidentReport xsi:schemaLocation="http://caseincidentreport.com/1.0.4 CaseIncidentReport.xsd">
    This is fine as long as long as I don’t switch to the Design tab. When I switch to the Design tab, Oracle XSL Mapper regenerates the XSL file and renders the root element as
    <inc:CaseIncidentReport>
    Can some one tell me how to configure Oracle XSL Mapper for ‘schemaLocation’ attribute? I am using BPEL Designer/JDeveloper Version 10.1.2.1.0 (Build 1915)
    Thanks,

    What do you mean by normal import? Where can I include the 'schemaLocation' attribute in the Designer? I have no trouble adding the shemaLocation in the source tab but when I switch to the design tab it always stripe it off.
    How do I file an enhancement request? I see the the XSL Mapper needs improvements.
    Thanks,
    Nathan

  • Export of BPEL process :  ?oracle-xsl-mapper? is missing from XSL file

    Hi,
    I am trying to export a BPEL process from Enterprise Manager 11g console (version:11.1.1.2.0). After exporting, i dont see the tag <?oracle-xsl-mapper?> inside xsl/*.xsl files.Because of this i couldnt open the transformation from Jdeveloper.Is any one faced this issue.Is there any workaround for this.
    thanks,
    ashok

    Most of the deploy files are also BPEL Unix server. Login to BPEL Unix server and looking for deploy files /apps1/u10/BPEL/bpel/domains/default/tmp. Identify the .xsl file and replace in it your Jdevelper work folder.

  • XSL Mapper JDeveloper plugin fails to launch from App Engine

    XSL Mapper JDeveloper plugin fails to launch from App Engine ONLY WHEN THE TARGET LOCATION OF THE SERVICE CONFIGURATION POINTS TO AN HTTPS URL.
    If I make the target location field of the service configuration point to an HTTP url, the plugin launches fine.
    The error message indicates that there is a missing certificate in the chain:
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: sun.security.validator.ValidatorException: No trusted certificate found
    A basic google search on this error leads me to believe that I need to add a key to the java clients keystore on my PC. Can anyone confirm or deny this? Has anyone else encountered this?

    After digging pretty hard I believe I've found the cause and two possible solutions...and I quote...
    "This seems to be a known conflict between versions of the Digi 001, the Audio Media III card, Panther OS, Pro Tools, and QuickTime 7 and above. This Mac is running...
    OS Panther 10.3.9
    Pro Tools LE 6.2.2
    This is what I've found from http://sillydog.org/forum/sdt_8928.php (page three of this thread).
    "testing has yielded that the Audio Media III card can be used with Pro Tools LE 6.2.3 on a platform as high as OSX Panther 10.3.9 as long as you do not (I repeat do not) install QuickTime 7ever. The QuickTime 6.5.2 re-installer will not remove problems created by installing QuickTime 7."
    "Basically if you are running what Digidesign refers to as “Legacy” hardware. Audio Media III/ Toolbox or the Digi 001. You are running a version of Pro Tools LE that is incompatible with QuickTime 7. If at any point QuickTime 7 is installed you must re-install (the OS and all programs) to delete its effects, and are stalled on OSX 10.3.9 (w/o QuickTime 7)."
    Knowing this, I was able to find a possible solution here... http://fox-gieg.com/tutorials/2005/undo-quicktime-7/
    The other solution is to upgrade equipment, or re-install OS and other Apps to go backwards.
    Hope this helps some people!

  • XSL mapper not working

    When i try to open an XSL file in jDeveloper, it complains about the first line in the file is invalid, <?xml version="1.0" encoding="UTF-8" ?>, which is originally generated by the XSL mapper and perfectly valid.
    because of this complaint, the mapper designer refused to open.
    after a good few hours of investigation, i found that this only happens when i start jDev "directly" by starting jdeveloper.exe
    if i go into JD Edwards OMW (object management workbench) and invoke jDev from there, the mapper works fine.
    how weird is that!
    anyone from Oracle can explain this? and maybe provide a work around?
    Thanks!

    We've been using JDeveloper/SOA Suite for almost 2 years now and this mapper issue happens now and then. No real explaination why other than it seems to be a memory issue and maybe something also with network speed. It seem to get worse when I try to work at home via VPN and I have Verizon Fios so speed shouldn't be an issue. All that seems to solve it is to close out and even log off for the memory resources to clear up.
    I've opened a couple of tickets over this issue in the past but got nowhere.

  • JDeveloper extension with XSL mapper

    We want to develop a JDeveloper custom extension (a wizard). In one of the wizard pages, we want to use the JDeveloper's XSL mapper for one of the function.
    Can you please advise whether it is possible. If yes, any details would be highly appreciated.
    Thanks.

    chk this
    http://docs.oracle.com/cd/E11036_01/doc.1013/e10295/xslt_mpr.htm
    you should have SOA composite application extension for this..
    if you dont want a visual transformation then you can use the jdeveloper project properties -> Run/Debug -> edit run configuration -> XSLT

  • How to use key() function in XSL Mapper file?

    I would like to use the XSLT key() function in an XSL stylesheet in the XSL Mapper designer, but I can find no way to include the <xsl:key> element.
    key() should be supported as it is available in the component palette, but I can't find a way to add <xsl:key> in the designer, and if I add it manually the designer tells me it is not supported.
    This is with Jdeveloper JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660 on Linux.
    Any help appreciated, thanks.

    The usual practice is to leave the XSLT as such. A person skilled in XSLT would know to open the XSLT in source mode if the design view is not supported. Almost most of AIA XSLTs are such and one has to only open them in source view.
    You might want to document this into some document/guide which the person might refer before actually making the changes!
    Cheers,
    - AR

  • XSL mapper problem with namespace defined in the element

    Hi.
    Using XSL Mapper from JDeveloper, I have imported one xsl that now is working and it generates an error. The source for the mapper is:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns4="http://sample.com" xmlns:ns3="http://sample2.com" version="1.0">
    <xsl:template match="/">
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    And I get
    Line Number:(25) : Error: "soapenv:Envelope" Element not Found in Target Schema
    But, if I change a little bit the definition, I solve the error.
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns4="http://sample.com" xmlns:ns3="http://sample2.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" version="1.0">
    <xsl:template match="/">
    <soapenv:Envelope >
    Why is this happening? It will make a lot of work trying to change all the old transformations that are well formed according with w3 specifications.
    Thanks in advance.
    Regards

    Hi,
    Perhaps it would help if you post your XML file.

  • Oracle XSL Processor Bug

    Description
    We are currently using the XMLData class (oracle.jbo.html.databeans.XmlData)
    We submit an XML document having some empty XML elements. We apply an XSL Transformation but we receive a non-conform XML Document in output!!
    The problem happens when one of the XML elements is empty. Oracle XSL Processor doesn't close my open tag <textarea> with a </textarea>
    XSL template:
    <xsl:template name="LigneAvecDetail">
    <xsl:param name="value"/>
    <xsl:param name="name"/>
    <xsl:param name="checkboxtag"/>
    <xsl:param name="detail"/>
    <tr>
    <td xsl:use-attribute-sets='LigneDetailStyle'>
    <xsl:choose>
    <xsl:when test="string-length($value) < 1">
    <input type="checkbox" value="ON" onclick="compute(this)">
    <xsl:attribute name="name"><xsl:value-of select="concat('C_', $name)"/></xsl:attribute>
    <xsl:attribute name="id"><xsl:value-of select="$name"/></xsl:attribute>
    </input>
    </xsl:when>
    <xsl:otherwise>
    <input type="checkbox" value="ON" onclick="compute(this)">
    <xsl:attribute name="name"><xsl:value-of select="concat('C_', $name)"/></xsl:attribute>
    <xsl:attribute name="id"><xsl:value-of select="$name"/></xsl:attribute>
    <xsl:attribute name="checked">TRUE</xsl:attribute>
    </input>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="$checkboxtag"/>
    <textarea rows="2" name="S1" cols="20"><xsl:value-of select="$detail"/></textarea>
    </td>
    <xsl:call-template name="GroupeRadioBouton">
    <xsl:with-param name="value" select="$value"/>
    <xsl:with-param name="name" select="$name"/>
    </xsl:call-template>
    </tr>
    </xsl:template>
    Here my XML document:
    <Results>
    <DRIOQ_BilanMe_view>
    <NoSommaire>1</NoSommaire>
    <AutreInfo>Autre information pertinente au dossier</AutreInfo>
    <IdIntervenant>1</IdIntervenant>
    <PoumonsRx></PoumonsRx>
    <PoumonsTdm></PoumonsTdm>
    <PoumonsAutre>B</PoumonsAutre>
    <PoumonsAutreDetail>Le commentaire de l'autre detail du poumon</PoumonsAutreDetail>
    <OsScint></OsScint>
    <OsRx>I</OsRx>
    <OsRxDetail>Le commentaire du detail RX de l'os</OsRxDetail>
    <OsTdm></OsTdm>
    <OsTdmDetail></OsTdmDetail>
    <OsAutre></OsAutre>
    <OsAutreDetail></OsAutreDetail>
    <FoieEnzymes>B</FoieEnzymes>
    <FoieEchographie>M</FoieEchographie>
    <FoieTdm>I</FoieTdm>
    <FoieAutre>B</FoieAutre>
    <FoieAutreDetail>Le commentaire de l'autre detail du foie</FoieAutreDetail>
    </DRIOQ_BilanMe_view>
    </Results>
    Thanks!

    This is a known bug in the HTML Output method of 2.0.2.6 which is incorrectly
    outputting elements like:
    <script/>
    and
    <textarea/>
    as
    <script> instead of <script></script>
    and
    <textarea> instead of <textarea></textarea>
    This will be fixed in 2.0.2.7. The workaround
    is to have some content defaulted into the <textarea> so that it's not an empty element.

  • Question about XSL Mapper in BPEL designer

    Hi,
    I have a question regarding the XSL mapper within JDeveloper BPEL Designer.
    Scenario:
    Consider
    1. Source xsd with 3 attributes
    2. Target xsd with 5 attributes
    An XSL mapping is defined for 3 source attributes to the corresponding target attributes.
    The attributes remaining on the target side (2 attributes) are NOT mapped.
    Now test the mapper using the in-built test tool
    (by right clicking on the xsl editor screen).
    The mapper generates a test-xml on the source side and its corresponding transformed xml on the target side.
    Now,
    If i click on "Validate" in the source side, it says "XML is Valid"
    If i click on "Validate" in the target side, it says "XML is NOT Valid" (because the 2 un-mapped attributes are not apprearing the target xml)
    My question is
    Is it an expected behaviour that if an attribute is not mapped, an empty tag <attribute/> is not generated for this attribute in the target xml. If so, wouldn't the target xml be invalid with respect to the target xsd.
    Thanks
    Antony

    I believe by default xml validation is set to false for a BPEL Domain. I am not sure whether setting this to true will cause your process to error out after the transformation or if it only validates inbound and outbound messages.

  • XSL Mapper Extension

    Hi
    I am considering writing a Java extension functions for XSL Mapper in BPEL to do DB read. Is this possible? Also, How can I throw exceptions from this function?
    Thank you.
    Message was edited by:
    user508086

    consider using ora:dbLookup or follow the sample in
    $BPEL_HOME/integration\orabpel\samples\references\CustomXPathFunction
    or $BPEL_HOME\integration\orabpel\samples\demos\XSLMapper\ExtensionFunctions
    hth clemens

  • Oracle xsl parser equivalent to msxsl:node-set()?

    Hello
    I am looking for an equivalent to the msxsl:node-set() that I can use with the Oracle xsl parser.
    Any sugestions?
    Ade

    We have ora:node-set()
    Use http://www.oracle.com/XSL/Transform/java
    as the namespace URI for the "ora" prefix.

  • Oracle XSL extensions functions

    Where can I find a list (and doc) of all the Oracle XSL extensions functions like ora:node-set?
    TIA
    Didier

    Please try this link:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx05xsj.htm#1023311

  • Oracle Fin/Functional Position at Bay Area

    Oracle Fin/Functional Position
    Need profiles with big 5 experience
         Should be a Functional person but knows technical stuff like API, Coding, and Write SQL, Designing documents and talking to end users
         Candidate should have worked on Global Delivery model and have complete process Knowledge
         Good with Education Background (Masters) and If education in India (Well known college)
         System Development Methodologies
         Worked in top companies like Deloitte, Infosys, Wipro / Oracle / KPMG
         Large scale implementation
         Exposure to integration
         Good at designing application
         Should be very Strong with A/R, customization, Run Queries
    contact [email protected] or 510.709.3820

    Report Abuse!
    This is a technical forum, and if you are looking to hire someone, there are many resumes uploaded in the job websites!

  • Oracle's XDK positioning vs. xalan/xerces in OC4J

    How is Oracle going to position its XDK versus the XML Parser/XSLT Stylesheet processor (Xerces/Xalan) components in OC4J? Are they interoperable?
    <cross posted in XML forum>

    Over time, the Xalan/Xerces will be replaces in OC4J by Oracle XML Components via the JAXP 1.1 support which makes XML Parsers and XSLT processors in Java pluggable.
    The Oracle SOAP implementation that comes with IAS 1.0.2.2 already has swapped out Xerces with Oracle XML Parser using Oracle XML Parser's JAXP 1.0 support.

Maybe you are looking for

  • Error while putting file in sftp location.

    Hi All, One of my BPEL process is using flow activity which has 5 flow in parallel, each flow has sftp invoke and we are writing file (put) to SFTP server. sometime bpel process is failing with below error message. Is someone has any idea to remove t

  • How do i view 'Today, Yesterday' search options in finder sidebar?

    Today i just got a new iMac, previously using a 2009 macbook. A feature in the finder sidebar that i use everyday is no longer there, nor can i find a setting to show/unhide it. The 'Today' 'search for'  sorting option. i use it all the time when sor

  • Server Performance with Form 6i server

    Hi, I am still on 6i. Recently I begin to move from the traditional client-server to the web and discovered that the 6i could not operate well in Windows XP on P4 machines. So I started to put in patch 10. It works fine. However, I could not find a s

  • Div tags - changing link properties

    Hi, My page has two colors. In the top is the navigation and the links need to be white due to the dark background. I did not plan to use links in the body itself, but have been forced. The body color is #efe9d1 and my links need to be dark. I am try

  • Audio in .fla (flash 8)

    For some reason, when I add audio to my timeline and go to scrub it, I can't hear it, yet when I publish the .swf, it plays just fine. I've tried other piece of audio to no avail also. Only thing I can think of, is to re-install Flash 8, but was look