Function Xpath BPEL that capture tags in a XML.

Hi,
Please, Could anyone help me please
I need to know what is the function (BPEL) that can capture what is between the tags.
For Example.
I created a simple BPEL Async, which receives an XML containing in payload:
<inputVariable>
<part name="payload">
*<ns1:ZFXI_GPS001>*
<ns1:ID_EXEC>1</ns1:ID_EXEC>
<ns1:ID_LOTE>2</ns1:ID_LOTE>
<ns1:DADOS>
<ns1:item>
<ns1:BUKRS>teste</ns1:BUKRS>
<ns1:BUTXT>teste</ns1:BUTXT>
</ns1:item>
</ns1:DADOS>
</ns1:ZFXI_GPS001>
</part>
</inputVariable>
I need to know what is the XPath function that captures what's between the tags and not what is contained therein. In the example above I need to capture the Tag *<ZFXI_GPS001>*, in other words I want to capture the name "*ZFXI_GPS001*".
If anyone knows how to do this, please help me.
Tks

Hi ,
You can use either of the two methods:
1. If you know the hierarchy of the XML and know the position of occuring of the XML tag , you can use count and read the Tag.
2. If you know the Tag names , convert XML to XMLString and then using substring function find the tag required by you.
Hope this helps you !!
Reg,
MaShek

Similar Messages

  • I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    Try CardMunch it works well for me

  • Table that captures change history of Ownership of Tranport Requests.

    Hello Folks,
                        I have been trying to locate a table that captures change in ownership of requests. I've tried Transport organizer transactions SE01 (extended view), tables E070 and E071 and SE03 but without success. Is there a table which captures change history of ownership?
    Regards,
    Prashant

    Hello Krishna,
                          This option would only work when table logging is enabled. Not otherwise. To give you a gist of my problem, one of the users from the client side created a request (authorization side is in a mess so business users also have access in Dev systems with lots of auths). He later instructed one of out functional consultants to tranfer the request from his name to the functional consultant's name. The request was later released and moved to Production system. Now the user from the client side denies that he ever created a request. (Audit issue now) and its going to snowball.
    Is there a solution.
    Regards,
    Prashant

  • Need to convert music videos that are tagged as "Movies" and re-rag them as "Music Videos" to get them out of my movies library and into the Music Video folder. Likewise, I ha e some educational videos that belong in "Podcasts." Help?

    Need to convert music videos that are tagged as "Movies" and re-rag them as "Music Videos" to get them out of my movies library and into the Music Video folder. Likewise, I have some educational videos that belong in "Podcasts." Help?

    Select/highlight the ones that you want to change in your iTunes library, do Get-Info (control-I) and change their Media Kind on their Options tab to 'Music Video' - and then similarly for the podcasts.

  • I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    # Question
    I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    You probably have not seen anyone reporting the exact same problem as you. All three crash reports have the same crash signature and as currently ranked 67 it is not the commonest of reasons for a crash.
    I hope you enter your email contact information when reporting crashes. I note you see this crash when using videos, others may possibly see this crash in other circumstances.
    You have already tried the obvious, attempts at a fix so it is now down to wait and see, maybe developers working on the bug will report something or fix it.
    Did you try my suggestion of installing portable ESR ?
    For forum cross referencing purposes
    * Crash Reports for Crash IDs <br />bp-71697f5d-41d4-48ae-9db9-3e6302130607<br /> bp-6e1347bc-153f-433a-9c35-a5f022130607<br /> bp-92a533a2-9e09-4c1e-8df7-deb4c2130607
    *(all three) Crash Signature: EnumSoftwareMFTs(_GUID const&, unsigned int, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, IMFActivate***, unsigned int*)
    * Related bug 858667 NEW crash in mozilla::wmf::MFTEnumEx @ EnumSoftwareMFTs
    *I note this was first seen in Fx21 and is 100% Windows 7
    <br />

  • A script that captures the coordinates of the mouse clicks and saves them into a file

    Hello,
    I'm trying to create a cartoon taking a movie (I've chosen blade runner) as base. I've got the real movie and I've exported all the pictures using VirtualDUB. Now I have a lot of images to modify. I would like to modify the actors faces with the faces generated by Facegen modeller. I'm thinking how to make the whole process automatic because I have a lot of images to manage. I've chosen to use Automate BPA,because it seems the best for this matter. I'm a newbie,so this is my first attempt using Adobe Photoshop and Automate BPA. I wrote a little script. It takes a face generated with Facegen modeller and tries to put it above the original actors faces. But it doesn't work very good and I'm not really satisfied,because the process is not fully automated. To save some time I need to write a script that captures the coordinates of the mouse when I click over the faces and that saves them into a file,so that Automate BPA can read these coordinates from that file and can put the face generated with Facegen Modeller above the original face. I think that Automate BPA is not good for this matter. I think that two coordinates are enough,X and Y. They can be the coordinates of the nose,because it is always in the middle of every face. It is relevant to knows how big should be the layer of the new face,too. This is the Automate BPA code that I wrote :
    <AMVARIABLE NAME="nome_foto" TYPE="TEXT"></AMVARIABLE>
    <AMVARIABLE NAME="estensione_foto" TYPE="TEXT"></AMVARIABLE>
    <AMSET VARIABLENAME="nome_foto">br</AMSET>
    <AMSET VARIABLENAME="estensione_foto">.jpeg</AMSET>
    <AMVARIABLE NAME="numero_foto" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_x" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_y" TYPE="NUMBER"></AMVARIABLE>
    <AMWINDOWMINIMIZE WINDOWTITLE="Aggiungere_layer - AutoMate BPA Agent
    Task Builder" />
    <AMWINDOWMINIMIZE WINDOWTITLE="AutoMate BPA Server Management Console
    - localhost (Administrator)" AM_ONERROR="CONTINUE" />
    <AMENDPROCESS PROCESS="E:\Programmi_\Adobe Photoshop
    CS5\Photoshop.exe" AM_ONERROR="CONTINUE" />
    <AMRUN FILE="%&quot;E:\Programmi_\Adobe Photoshop CS5\Photoshop.exe&quot;%" />
    <AMPAUSE ACTION="waitfor" SCALAR="15" />
    <AMSENDKEY>{CTRL}o</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMINPUTBOX RESULTVARIABLE="numero_foto">Inserire numero FOTO di
    partenza -1</AMINPUTBOX>
    <AMINCREMENTVARIABLE RESULTVARIABLE="numero_foto" />
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMMOUSEMOVEOBJECT WINDOWTITLE="Apri" OBJECTNAME="%nome_foto &amp;
    numero_foto &amp; estensione_foto%" OBJECTCLASS="SysListView32"
    OBJECTTYPE="ListItem" CHECKOBJECTNAME="YES" CHECKOBJECTCLASS="YES"
    CHECKOBJECTTYPE="YES" />
    <AMMOUSECLICK CLICK="double" />
    <AMPAUSE ACTION="waitfor" SCALAR="10" />
    <AMSENDKEY>{CTRL}+</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="20" />
    <AMSENDKEY>l</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMSENDKEY>v</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="131" MOVEY="99" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="99" MOVEY="162" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="release" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMINPUTBOX RESULTVARIABLE="coord_x">Inserire coordinata X</AMINPUTBOX>
    <AMINPUTBOX RESULTVARIABLE="coord_y">Inserire coordinata Y</AMINPUTBOX>
    <AMMOUSEMOVE MOVEX="200" MOVEY="200" RELATIVETO="screen" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMMOUSEMOVE MOVEX="%coord_x%" MOVEY="%coord_y%" RELATIVETO="position" />
    <AMMOUSECLICK />
    and this is a short video to explain better what I want to do :
    http://www.flickr.com/photos/26687972@N03/5331705934/
    In the last scene of the video you will see the script asking to input the X and the Y coordinates of the nose. This request is time consuming. For this reason I want to write a script that captures automatically the coordinates of the mouse clicks. The only thing to do should be click over the nose and the script should make the rest. As "c.pfaffenbichler" suggested here : http://forums.adobe.com/thread/775219, I could explore 3 ways :
    1) use the Color Sampler Tool’s input with a conventional Photoshop Script.
    2) use After Effects would provide a better solution.
    3) Photoshop’s Animation Panel might also offer some easier way as it might be possible to load two movies (or one movie and one image) and animate the one with the rendered head in relation to the other.
    Since I'm a totally newbie in graphic and animation,could you help me to explore these ways ? Thanks for your cooperation.

    These are the coordinates of the contours of the face that you see on the picture. Can you explain to me how they are calculated ? The coordinates of the first colums are intuitive,but I'm not able to understand how are calculated the coordinates of the second one.
    Thanks.
    1 COL     2 COL (how are calculated these values ?)
    307.5000 182.0000 m
    312.5000 192.0000 l
    321.5000 194.0000 l
    330.5000 193.0000 l
    335.0000 187.0000 l
    337.0000 180.5000 l
    340.0000 174.0000 l
    338.5000 165.5000 l
    336.0000 159.0000 l
    331.5000 153.0000 l
    324.5000 150.0000 l
    317.0000 154.0000 l
    312.5000 161.0000 l
    309.0000 173.0000 l
    307.5000 182.0000 l
    Message was edited by: LaoMar

  • How to use the divide() function in bpel

    Hi All,
    How to use the divide() function in bpel.
    pls can u give the one sample example

    2 div 4
    Eg;
    <assign name="Assign_1">
    <copy>
    <from expression="2 div 4"/>
    <to variable="outputVariable" part="payload"
    query="/client:testProcessResponse/client:result"/>
    </copy>
    </assign>
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do I create (or delete) a new tag for a website, so that its tag appears (or does not appear) every time I restart Firefox?

    How do I create (or delete) a new tag for a website, so that its tag appears (or does not appear) every time I restart Firefox?

    See this - https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page

  • Where is the F9 expose function in Lion that shows all windows open?

    where is the F9 expose function in Lion that shows all windows open?

    Hello.
    What you’ve used and loved as Expose and Spaces is now called “Mission Control”.
    http://appleslut.com/blog/software/osx-lion-mission-control

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • I have a program that capture sound how i can change to chat program

    hi all .i have a problem in which that i make a program that capture the sound from a mic then save it and then i can playback it so i wanna a help to change that program to capture the sound from a person on the lan and the other user ob the lan can hear that sound which they are connected throw the network .
    need all help

    So, you want to stream audio to your pals on a chat system. You will need to study the AudioInputStream class and figure out how to send an audio stream across a socket. You'll need to define an equivalent AudioOutputStream, unfortunately there is no such class in the API. Whatever you send should be readable using an AudioInput Stream.
    This is an interesting and non trivial project.

  • Any function in BPEL to decode the message??

    Hi,
    I am working on BPEL.I am sending a xml message as input which is getting encoded. Is there any function in bpel which will decode the message and assign to the output.
    please help me out of this problem
    Regards,
    mohamed

    Use the java api com.collaxa.common.util.Base64Decoder to decode this.
    See also:
    base64 conversion
    Marc
    http://orasoa.blogspot.com

  • Need of exception handler in calling function, isn't that weird???

    Hi,
    I have written a function as follows
    public String fetchName(String query) throws Exception
              stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery(query);
              rs.next();
              return (rs.getString(1));
    I've handled the for exceptions here using "throws Exception". Inspite of that when i call it from other function and in that funtion no exception need to be handled, compiler gives errror.
    Following is the calling funtion
    public String checksubAction(String action)
              String retValue=" ";
    String query="";
              query = "select Title from dbo.Folder where Folder_Id="+folderId;
              retValue = dataBaseObj.fetchName(query);                                        
    but when i write it in try-catch block, no errror is given.
    Why is it that inspite of handling exception(s) in the called function, we need to handle them in calling functions.

    No you have not handled the exception. Your code say "fetchName" does NOT handle exceptions of type "Exception", the calling method should be aware of this, and handle that type of exception.
    The Java Tutorial: Essential Java Classes: Handling Errors Using Exceptions
    (Please when declaring a method can throw exceptions, be specific, i.e. throw SQLException in this case)

  • FOTY0001 Error while calling ref:populateXRefRow function in BPEL

    I am getting folowing error while invoking populateXRefRow function in BPEL.
    Expression is : ref:populateXRefRow("CustomerTable","SAP","SAP001","EBS","EBS_001","ADD")
    TableName - CustomerTable
    Column Names- SAP,EBS
    Already ran xreftables.sql script and bounced the server too but still getting the error.
    Any solution?
    Thanks in Advance

    HI
    Usage of variables in populateXref statements in BPEL assign activities as follows :
    For example, the following is not supported:
    xref:populateXRefRow("apps_intg","common","common-12345",bpws:getVariableData('Receive_Read_InputVariable','Root-Element','/ns3:Root-Element/ns3:Root-Element/ns3:appname'),bpws:getVariableData('Receive_Read_InputVariable','Root-Element','/ns3:Root-Element/ns3:Root-Element/ns3:id'),"ADD")
    The following is supported:
    xref:populateXRefRow("apps_intg","common","common-12345",string(bpws:getVariableData('Receive_Read_InputVariable','Root-Element','/ns3:Root-Element/ns3:Root
    -Element/ns3:appname')),string(bpws:getVariableData('Receive_Read_InputVariable','Root-Element','/ns3:Root-Element/ns3:Root-Element/ns3:id')),"ADD")
    Please enclose the bpws:getVariableData() with string() function as populateXRefRow() expects strings as its arguments.
    Hope this resolves and answers your question.
    Cheers
    Anirudh Pucha

  • When opening the Coloursync utility and pressing the verify button, I received an error message stating that the Tag 'cprt':Text tag has an incorrect length which could not be fixed as the file is locked. Does anyone know how to rectify this?

    When opening the Coloursync utility and pressing the verify button, I received an error message (copy below) stating that the Tag 'cprt':Text tag has an incorrect length which could not be fixed as the file is locked. Does anyone know how to rectify this?
    Checking 25 profiles...
    /Library/ColorSync/Profiles/Displays/iMac-00000610-0000-9C6C-0000-000004271B00.i cc
       Tag 'cprt': Text tag has an incorrect length.
       The file is locked. Could not be fixed.

    Hi guys,
    I followed the steps to unlock the .icc file in the "getinfo" screen then went on clicking repair in colorsync utility.
    This is the message i got:
    Searching for profiles...
    Checking 17 profiles...
    /Library/ColorSync/Profiles/Displays/Color LCD-00000610-0000-9CF3-0000-000004273CC0.icc
       Tag 'cprt': Text tag has an incorrect length. Fixed.
    Repair done - 1 profiles fixed.
    However, when i hit verify again it shows up like this:
    Searching for profiles...
    Checking 17 profiles...
    /Library/ColorSync/Profiles/Displays/Color LCD-00000610-0000-9CF3-0000-000004273CC0.icc
       Tag 'cprt': Text tag has an incorrect length.
    Verify done - found 1 bad profile.
    ... and it keeps like this sine die.
    when i open the .icc file it shows up like this:
    3     'cprt'     'text'     35     Copyright ASCII Text String
    New to mac so I really don't know what to do.
    I didn't get this message so far. What i did before getting this message was to open a jpeg file. I wanted to edit it so when i did right click on the file i went to open with, and colorsync came as an option; so i chose it.
    Then this message started comming up.
    Is there anything i can do?
    Thabks for the support.

Maybe you are looking for