Help me with XML tag !!!

i want to build an interated application
Example : when user press 1 button (soft key on mobile phone) , it will direct to a page . And press 2 to go to another page.
I have tried to use SimpleBind,SimpleMatch,SimpleTask
But i don't know how to recognine the event that the key was pressed and how to get it (how to compare with the value represent to 1 button).
I think that i should use the tag SimpleSwitch,SimpleCase to compare the value but it require the name of the formfield ,and i don't know get(set) the name of the event that the 1 button was pressed .
Thank.
F.Redondo

you can add <SimpleAction target="http://host/..." type="accept" .../> to assign the action to the primary button and <SimpleAction target="http://host/..." type="options" .../> to assign the secondary key

Similar Messages

  • Urgent help needed for XML Tags using XMLForest()

    Folks
    I need some urgent help regarding getting use defined tag in your
    XML output.
    For this I am using XMLElement and XMLForest which seems to work fine
    when used at the SQL prompt but when used in a procedure throws and error
    SQL> Select SYS_XMLAGG(XMLElement("SDI",
                                       XMLForest(sdi_num)))
         From sdi
         where sdi_num = 22261;- WORKS FINE
    But when used in a procedure,doesnt seem to work
    Declare
        queryCtx  DBMS_XMLQuery.ctxType;
        v_xml     VARCHAR2(32767);
        v_xmlClob CLOB;
        BEGIN
        v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
                                             XMLFOREST(sdi_num)))
        From sdi
        where sdi_num = 22261';
        queryCtx :=DBMS_XMLQuery.newContext(v_xml);
        v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
        display_xml(v_xmlClob);
    End;
    CREATE OR REPLACE PROCEDURE  display_xml(result IN OUT NOCOPY CLOB)
    AS
         xmlstr varchar2(32767);
         line varchar2(2000);
    BEGIN
         xmlstr:=dbms_lob.SUBSTR(result,32767);
         LOOP
         EXIT WHEN xmlstr is null;
         line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
         dbms_output.put_line('.'||line);
         xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
         END LOOP;
    end;
    SQL> /
    .<?xml version = '1.0'?>
    .<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
    XML tag name.</ERROR>
    PL/SQL procedure successfully completed.
    SQL>HELP is appreciated as to where I am going wrong?

    Hi,
    if you want to transform something to something else, you should declare, what is your source.
    I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
    Kind regards,
    Hendrik

  • Conversion of text with xml tags to text without xml tags

    Hi all,
    We have a requirement wherein we have to discard xml tags in a text string.
    The scenario is that we have got the text from the fm READ_TEXT which contains xml tags also.
    we need to populate this text sans the xml tags  into the data segment of a iDOC.
    The text returned by the FM is " <s><<H>INVOICING INSTRUCTIONS:</><s> Invoices referencing a Boyne "
    Helpfull ans will be rewarded
    TIA

    Use the function module:
    SOTR_TAGS_REMOVE_FROM_STRING
    sorry for duplicate post:
    Check this thread:
    Need help getting rid of those <ASX:ABAP> tags from the generated XML file!
    Re: XI 2.0 Inbound message to XI has XML Tags Stripped out
    as well
    Regards,
    ravi

  • Report for editing the word document with xml tags

    Hi all,
    My requirement is to edit the contents of the word document in the presentation server through report programming and save that document  in the presentation server.
    For eg if my word document contains many xml  tags with spaces < EDI_DS40 >, i would like to remove the spaces and i want it to be lyk <EDI_DS40>.Then say if i wanted to make some modification (addition, deletion,replacing with some text) in the text in some nth line of the document how can dis be dione.
    Is there any function module or bapi which serves this purpose.
    Can anyone pls guide me on dis.
    Thanks & Regards,
    Revathi.

    Hi,
    just to let you know I have sorted this.
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
    Thanks.

  • Very Urgent Please Help Me with XML parsing(DOM parser)

    Hi
    Please help me with the following code.
    I have an XML file
    <catalog>
    <book id="101">
    <title>First Ex With ID 101</title>
    <ID>500</ID>
    <author>RAJU</author>
    <price>39.95</price>
    </book>
    <book id="121">
    <ID>501</ID>
    <title>First Ex With ID 121</title>
    <author>RAJU1</author>
    <price>19.95</price>
    </book>
    </catalog>
    By using DOM parser I have to retrive ID values .After getting this ID values i have to pass these values in someother method of someother class.What i suppose to do?Can anyone help me with this regards ,if possible plese write the code..
    Regards
    Raju G

    Well first up all create a parser class where u parse the document using DOm and get the id node and assigen it to a String sat str.
    Now whatever processiong u want to do , u write in a separate class (say Process.java) in one method say doProcess(String str)
    Now from parser class u just call the doProcess() method with passing str as a parameter.
    eg.
    Process p = new Process();
    p.doProcess(str);
    Hope this will help u.
    ....yogesh

  • Immediate help needed with XML Parser

    I am currently running Oracle 8i and trying to use the XML utilities. Just to make sure things are working, I tried a very simple program. I followed the xslsample.sql code that was supplied by Oracle. Code is as follows:
    declare
    p xmlparser.parser;
    begin
    p := xmlparser.newparser;
    end;
    When the code executes, I get a PLS-00201: identifier 'XMLPARSER.PARSER' must be declared. Anyone have any ideas on what is going on and how to fix it? Any assistance would be greatly appreciated. You can email directly if you wish since I am really under a tight timeline to get these utilities to work correctly.

    Michael,
    Seems to be some problem with privileges. XMLPARSER is owned by SYS. You will need to grant execute access from SYS to the user under which you are trying to compile the procedure. It might be useful to create a public synonym and then grant access.
    Hope this helps.

  • Help Needed with XML Attribute Access (Bold/Italics)

    Hi,
    I have a form that displays data in livecycle designer. When someone imports an xml file into the form in Adobe Acrobat it should be able to display some data as bolded and some italicized based on the xml file.
    Here is the sample xml file
    <Table1>
         <Row1>
              <Cell1 style="none">1</Cell1>
              <Cell2 style="bold">2</Cell2>
              <Cell3 style="italics">3</Cell3>
         </Row1>
    </Table1>
    And the output should be:
    1 2 3 
    Can someone please help! If the xml file should be designed differently please let me know.
    Thank you!

    Paul,
    Thanks for the help! I tried it out and it worked. One last question please. According to your explanation I added to the xml file the tags
    <body xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xmlns="http://www.w3.org/1999/xhtml" xfa:APIVersion="Acroform:2.7.0.0" xfa:spec="2.1">
    <p style="font-weight:bold;">2</p>
    </body>
    do I need to place this body tag around each number or can I place it in one location in the xml file?
    Thanks again.

  • Problem with XML Tags

    Hi All,
    The XML PI is expecting is 
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_TAC xmlns:ns0="urn://BLSWebsite/CreateServiceOrder">
    <TAC>
         <TACHEADER>
              <FILETYPE>ZNSMORDER</FILETYPE>
              <FILEID>090730.12014</FILEID>
              <VERSION>1.0</VERSION>
         </TACHEADER>
         <ZNSMORDER>
              <HEADER>
                   <NOTIFICATIONNO>na03909302</NOTIFICATIONNO>
                   <CUSTOMERNO>8510656</CUSTOMERNO>
                   <CEDROP>CE847452</CEDROP>
                   <COMMENTS>Need copy of hppc v7r3 so can upgrade site from v7r1...
                   Have a great day,
                   Randy</COMMENTS>
                   <REQUIREDBY>00/00/0000</REQUIREDBY>
                   <DETAIL>
                        <PARTNUMBER>P30152P1182P004</PARTNUMBER>
                        <QUANTITY>1</QUANTITY>
                        <PRICE>0.00</PRICE>
                        <SYSTEMID>L31907D 645U</SYSTEMID>
                   </DETAIL>
              </HEADER>
         </ZNSMORDER>
    </TAC>
    </ns0:MT_TAC>
    but the XML We are recieving from third party is
    <?xml version="1.0"?>
    <TAC>
         <TACHEADER>
              <FILETYPE>ZNSMORDER</FILETYPE>
              <FILEID>090730.12014</FILEID>
              <VERSION>1.0</VERSION>
         </TACHEADER>
         <ZNSMORDER>
              <HEADER>
                   <NOTIFICATIONNO>na03909302</NOTIFICATIONNO>
                   <CUSTOMERNO>8510656</CUSTOMERNO>
                   <CEDROP>CE847452</CEDROP>
                   <COMMENTS>Need copy of hppc v7r3 so can upgrade site from v7r1...
                   Have a great day,
                   Randy</COMMENTS>
                   <REQUIREDBY>00/00/0000</REQUIREDBY>
                   <DETAIL>
                        <PARTNUMBER>P30152P1182P004</PARTNUMBER>
                        <QUANTITY>1</QUANTITY>
                        <PRICE>0.00</PRICE>
                        <SYSTEMID>L31907D 645U</SYSTEMID>
                   </DETAIL>
              </HEADER>
         </ZNSMORDER>
    </TAC>
    The initial tags are missing so the messsage fails in XI so i there any possible way to recieve what they are sending and add the tags reuired by SAP-PI by some method in XI. Please help on this

    Hi,
    open your message type in integration repository and remove the namespace from it
    + you also need to change the message type name from MT_TAC to TAC
    and remove the TAC tag from the data type
    then it will work
    Regards,
    Michal Krawczyk
    Edited by: Michal Krawczyk on Aug 7, 2009 9:58 AM

  • Trouble with XML tags

    I have tagged individual elements of text within a text box with tags from an imported xml file. When I import another xml file with the exact same tags but different content two of my tagged elements won't update. I have tried untagging and retagging and I can't get it to update with the new content. Another bit of info is that I have another text box with some of the same tags in it and that one will update just fine. Can anyone tell me what I am missing?
    Thanks.
    Chad

    Rather than using collection attribute (which requires a runtime expression) instead use the name attribute.
    Also, if you aren't going to use the variable "booId" in scriptlet code/expressions, you can leave out the "type" attribute.
    Probably the scope attribute as well.
    That all boils down to:
    <logic:iterate id="booId" name="arrayListOfDeptnos">
      <html:link action="/getme" paramId="theNum" paramProperty="deptNo" paramName="booId">
        <bean:write name="booId" property="deptNo"/>
      </html:link>
    </logic:iterate>And for completeness, the same thing using some JSTL code:
    <c:forEach var="booId" items="${requestScope.namearrayListOfDeptnos}">
      <html:link action="/getme" paramId="theNum" paramProperty="deptNo" paramName="booId">
        <c:out value="${booId.deptNo}"/>
      </html:link>
    </c:forEach>Cheers,
    evnafets

  • Help needed with xml to flat file conversion

    Hi all,
    I am doing a webservice (SOAP) to file scenario. The file I get into the target directory is as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_Test_interface xmlns:ns1="http://test_namespace.co.uk"><fieldA>0000012345</fieldA><fieldB></fieldB><fieldC>0010203040</fieldC><transaction_type>NEW</transaction_type><transaction_date>2011/08/21</transaction_date><sales data>PARTNERS (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</sales data></ns1:MT_Test_interface>
    But I want it to be a plain text file like below, not an xml file.
    0000012345
    0010203040
    NEW
    2011/08/21
    PARTNERS
    (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))
    What are all the modules I need and also the parameters and their values please?
    Any help is appreciated.
    Thanks.
    Ramesh.

    Thanks guys.
    My xml now is like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_test xmlns:ns1="http://test.co.uk">
    - <REPORT>
      <company_number>0000043239</company_number>
      <transaction_type>CREATE</transaction_type>
      <transaction_date>2011/08/21</transaction_date>
      <sales_data>Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</Partners>
      </REPORT>
      </ns1:MT_test>
    I am using the content conversion as below:
    Recordset Structure: REPORT
    Name: REPORT.addHeaderLine      Value: 1
    Name: REPORT.fieldSeparator      Value: ,
    Name: REPORT.endSeparator      Value: 'nl'
    Name: company_number.endSeparator      Value: 'nl'
    and I am getting the result as:
    company_number,transaction_type,transaction_date,sales_data
    0000043239,CREATE,2011/08/21,Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
    But I want file like this:
    company_number,transaction_type,transaction_date,sales_data
    0000043239
    CREATE
    2011/08/21
    Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
    What will be the CC parameters please?
    Many thanks.
    Ramesh.

  • Help needed with XML

    Hi guys,
    i was wondering if it is possible to copy data from xml file
    into array and use that data to make search in some other xml file.
    Since i coulnt get any help on my previous post am raising this
    question. I have lot more to ask but right now this much only. :).
    Thanks in advance.

    Depending on the structure of the XML file, you should be
    able to use E4X syntax to put required data into an Array, or
    perhaps an ArrayCollection.
    Then I would think you should be able to once again use E4X
    syntax to search (filter???) the other XML file using the data in
    the ArrayCollection.

  • Help needed with xml list

    hi,
    i need to make a list in which all the list items will come
    from xml file. these items will also be clickable so that they open
    a new respective hyperlink on click. i need something like
    www.sponky.com ' s portfolio list. can somebody please help me? i
    really need your help.
    thanks,
    gaurav

    I'm hoping I understand what you're doing... I would probably
    do it all in one frame and just toggle the .visible property of the
    subcategory list after the first one has been clicked, but there's
    no rules about how you do it.
    Without being sure, I think what you may have done is put a
    second "copy" of the category list on another keyframe, which
    replaces the previous instance. By taking away the second copy it
    should work. If that's not the case, then I'm stumped... otherwise
    read on.
    So if you have the category list in its own layer, just have
    it in frame one, on frame 2 of the same layer have a frame but
    not a keyframe. This will mean the instance in frame one is
    still the same one when the playhead gets to frame 2.
    And have the subCategory list on a separate layer, it appears
    on frame 2...
    BTW the .getSelectedItem() method of the list reminds me of
    flash mx... is that the version you're using (curiosity only I
    don't think its relevant, because its obviously working).

  • Help needed with XML Schema Processor sample

    I'm trying to run the sample that came with the Oracle XML Schema Processor (XSDSample.java) and get the following error:
    -- process file: catalogue.xml
    file:/D:/java/xml/ORACLE/XSD/catalogue.xml<Line 8, Column 32>: XSD-2001: (Error) Can not create instance of: 'oracle.xml.parser.schema.XSDBuilder'
    What am I doing wrong. I am running the sample unchanged.
    thx,
    e
    null

    Looks like unzipping the jar and making sure its in your classpath fixed the problem. not sure why explicitly having the xschema.jar in the classpath didn't work.
    e

  • Can anyone help me with a tagging problem?

    I have the latest version of ITunes on my Windows 7 machine. The problem I am having is as follows, I tag a song on my IPod and it shows up in the playlist as it should. When I go to buy it however, it won't purchase. Can someone please help me solve this issue? On a side note, I changed my sound theme in Windows the other day, and now when I open ITunes and my IPod syncs, it doesn't make the little chime noise it used to telling me that the sync is done.

    Hi redcolin!
    Here is an article that can help you troubleshoot this issue:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • Help in removing XML tag !!!1

    Hi All,
    i have wrote the following query
    SELECT '<ns0:Employee_Details xmlns:ns0="http://BizTalk_Server_Project1.Employee_DesirableFormat">'
    ||chr(10)||dbms_xmlgen.getxmltype('SELECT xmlforest(emp_id, name, dept_id, xmlforest(add1,add2) AS Address,city) As Employees
    FROM EMPLOYEES WHERE EMP_ID =' ||101)||chr(10)|| '</ns0:Employee_Details>' AS XML
    from Dual;
    and out put is :
    - <ns:Emp xmlns:ns="http://BizTalk_Server_Project1.Employee_DesirableFormat">
    - <ROWSET>
    - <ROW>
    - <EMPLOYEES>
    <EMP_ID>101</EMP_ID>
    <NAME>KING</NAME>
    <DEPT_ID>10</DEPT_ID>
    - <ADDRESS>
    <ADD1>PH-1</ADD1>
    <ADD2>SEC-2</ADD2>
    </ADDRESS>
    <CITY>abcd</CITY>
    </EMPLOYEES>
    </ROW>
    </ROWSET>
    </ns:Emp>
    Now i want to remove the <Rowset> and <Row> tag in my result...... can i do from above query by making any changes.....or if there is another way ...please let me know.....
    Thanks

    Now i want to remove the <Rowset> and <Row> tag in my resultJust use EXTARCT:
    SQL> select '<ns0:Employee_Details xmlns:ns0="http://BizTalk_Server_Project1.Employee_DesirableFormat">'
           || dbms_xmlgen.getxmltype (
                 'select xmlforest(empno, ename, deptno, xmlforest(job) as job,sal) as employees from emp where empno ='
                 || 7788).extract ('ROWSET/ROW/*')
           || '</ns0:Employee_Details>' as xml
      from dual
    XML                                                                            
    <ns0:Employee_Details xmlns:ns0 = "http://BizTalk_Server_Project1.Employee_DesirableFormat">
        <EMPLOYEES>
            <EMPNO>7788</EMPNO>
            <ENAME>SCOTT</ENAME>
            <DEPTNO>20</DEPTNO>
            <JOB>
                <JOB>ANALYST</JOB>
            </JOB>
            <SAL>3000</SAL>
        </EMPLOYEES>
    </ns0:Employee_Details>
    1 row selected.

Maybe you are looking for

  • Error message when downloading new itunes

    I get an error message when trying to download the new version of iTunes. It says I need to contact my systems administrator because I dont have authorisation. I have already uninstalled itunes and deleted it from my programmes but neither of these h

  • Issue with TBLAST and skipmissing

    Hello, We have an Essbase ASO application (v 11.1.1) that is used to show Balance type values, so we created an AmountMTD measure with TBLAST property. A new requirement appeared in our customer in order that AmountMTD for the current month should sh

  • How do I clear or delete text in Speech Analysis?

    I tried "Speech Analysis" using a transcript and the results were not good. How can I clear this text from each clip's metadata?

  • [Resolved] Compaq n620c video problems

    got i686 to install on this laptop with no problem... attempted to use ati FOSS drivers for video, got error that it didn't recognize the driver (will post exact error tomorrow if I can get internet where the laptop is, else I'll copy the error and p

  • Scrolling window appears - How do I remove?

    Here is a page created with my template: http://abdavisbuilders.com/contact.html Here is another page created with the same template, but adding copy and a few divs: http://abdavisbuilders.com/index-2.html You will notice that the contact page does n