How to print  xml tag in other group

I want to print G_EXCISE_DUTY_REG_NO group in g_headers.
below are tags
- <XXJAPRPOL>
- <LIST_G_INIT_INFO>
- <G_INIT_INFO>
<MANUAL_PO_NUM_TYPE>NUMERIC</MANUAL_PO_NUM_TYPE>
<C_COMPANY>Raychem RPG</C_COMPANY>
<C_ORGANIZATION_ID>84</C_ORGANIZATION_ID>
<BASE_CURRENCY_CODE>INR</BASE_CURRENCY_CODE>
<STRUCTURE_ACC>50368</STRUCTURE_ACC>
<STRUCTURE_CAT>50376</STRUCTURE_CAT>
<C_CATEGORY_SET_ID>1100000041</C_CATEGORY_SET_ID>
<C_YES>Yes</C_YES>
<C_NO>No</C_NO>
- <LIST_G_EXCISE_DUTY_REG_NO>
- <G_EXCISE_DUTY_REG_NO>
*<EXCISE_DUTY_REG_NO>AAACR8032LXM006</EXCISE_DUTY_REG_NO>*
*<EC_CODE>AAACR8032LXM006</EC_CODE>*
*<CST_REG_NO>27850000111C</CST_REG_NO>*
*<VAT_REG_NO>27850000111V</VAT_REG_NO>*
*<ORGANIZATION_ID1>84</ORGANIZATION_ID1>*
*</G_EXCISE_DUTY_REG_NO>*
- <G_EXCISE_DUTY_REG_NO>
*<EXCISE_DUTY_REG_NO>AAACR8032LXM006</EXCISE_DUTY_REG_NO>*
*<EC_CODE>AAACR8032LXM006</EC_CODE>*
*<CST_REG_NO>27850000111C</CST_REG_NO>*
*<VAT_REG_NO>27850000111V</VAT_REG_NO>*
*<ORGANIZATION_ID1>84</ORGANIZATION_ID1>*
*</G_EXCISE_DUTY_REG_NO>* </LIST_G_EXCISE_DUTY_REG_NO>
- <LIST_G_HEADERS>
- <G_HEADERS>
<DECODE_P_SORTBY_PO_NUMBER_NULL />
<DECODE_P_SORTBY_PO_NUMBER_NUL1 />
<DECODE_PO_NUM_TYPE_NUMERIC_NUL />
<DECODE_PO_NUM_TYPE_NUMERIC_DEC>202</DECODE_PO_NUM_TYPE_NUMERIC_DEC>
<POH_VENDOR_ID>3006</POH_VENDOR_ID>
<POH_PO_NUM>202</POH_PO_NUM>
<POH_REVISION_NUM>1</POH_REVISION_NUM>
<POH_VENDOR_NAME>PCFC</POH_VENDOR_NAME>
<POH_VENDOR_ADDRESS_LINE1>pcfcc</POH_VENDOR_ADDRESS_LINE1>
<POH_VENDOR_ADDRESS_LINE2 />
<POH_VENDOR_ADDRESS_LINE3 />
<POH_VENDOR_ADR_INFO />
<POH_VENDOR_COUNTRY>India</POH_VENDOR_COUNTRY>
<POH_CUSTOMER />
<POH_VENDOR_NUM>12</POH_VENDOR_NUM>
<POH_CREATION_DATE>17-DEC-09</POH_CREATION_DATE>
<POH_REVISED_DATE>22-DEC-09</POH_REVISED_DATE>
<POH_BUYER>Consultant</POH_BUYER>
<POH_PAYMENT_TERMS>Immediate</POH_PAYMENT_TERMS>
<POH_SHIP_VIA />
<POH_FOB />
<POH_FREIGHT_TERMS />
<POH_VENDOR_CONTACT_NAME />
<POH_VENDOR_PHONE>()</POH_VENDOR_PHONE>
<POH_VENDOR_CONTACT_PHONE>()</POH_VENDOR_CONTACT_PHONE>
<POH_NOTE_TO_VENDOR />
<POH_PRINTED_DATE />
<POH_AMOUNT_AGREED />
<POH_CANCEL_FLAG>N</POH_CANCEL_FLAG>
<POH_CONFIRMING_ORDER_FLAG>N</POH_CONFIRMING_ORDER_FLAG>
<POH_ACCEPTANCE_REQ_FLAG>N</POH_ACCEPTANCE_REQ_FLAG>
<POH_ACCEPTANCE_DUE_DATE />
<POH_CURRENCY_CODE>INR</POH_CURRENCY_CODE>
<POH_CURRENCY_CONVERSION_RATE />
<POH_BILL_TO_LOCATION>145</POH_BILL_TO_LOCATION>
<POH_SHIP_TO_LOCATION>146</POH_SHIP_TO_LOCATION>
<POH_PO_HEADER_ID>600</POH_PO_HEADER_ID>
<POH_PO_RELEASE_ID />
<POH_PO_TYPE>STANDARD</POH_PO_TYPE>
<POH_PRINT_COUNT>0</POH_PRINT_COUNT>
<POH_EFFECTIVE_DATE />
<POH_EXPIRATION_DATE />
<POH_PO_TYPE1>STANDARD</POH_PO_TYPE1>
<POH_CURRENCY_NAME>Indian Rupee</POH_CURRENCY_NAME>
<C_CURRENCY>INR</C_CURRENCY>
<POH_JOIN_RELEASE_ID>-1</POH_JOIN_RELEASE_ID>
<POH_RELEASE_TYPE />
<SECURITY_POH_PO_NUM>202</SECURITY_POH_PO_NUM>
<SECURITY_POR_PO_NUM />
<POH_ARCHIVE_BUYER>Consultant</POH_ARCHIVE_BUYER>
<POH_DOCUMENT_BUYER_AGENT_ID>61</POH_DOCUMENT_BUYER_AGENT_ID>
<POH_APPROVED_FLAG>N</POH_APPROVED_FLAG>
<LIST_G_CANCEL_PO />
<LIST_G_ONE_REQUESTOR />
- <LIST_G_LINES>
- <G_LINES>
<POL_FROM_HEADER_ID />
<POL_FROM_LINE_ID />
<POL_SRC_GA_FLAG>N</POL_SRC_GA_FLAG>
<POL_LINE_NUM>1</POL_LINE_NUM>
<POL_PO_ITEM_ID>2004</POL_PO_ITEM_ID>
<POL_VENDOR_PRODUCT_NUM />
<POL_ITEM_DESCRIPTION>Dell Desktop</POL_ITEM_DESCRIPTION>
<POL_UANTITY_TO_PRINT>100</POL_UANTITY_TO_PRINT>
<POL_UNIT_OF_MEASURE>Each</POL_UNIT_OF_MEASURE>
<POL_PRICE_TO_PRINT>150</POL_PRICE_TO_PRINT>
<POL_QUANTITY_COMITTED />
<POL_UN_NUMBER_AND_DESC />
<POL_HAZARD_CLASS />
<POL_NOTE_TO_VENDOR>test note to supplier</POL_NOTE_TO_VENDOR>
<POL_CONTRACT_NUM />
<POL_VENDOR_QUOTE_NUM />
<POL_PO_HEADER_ID>600</POL_PO_HEADER_ID>
<C_AMOUNT_POL>15000</C_AMOUNT_POL>
<POL_PO_LINE_ID>716</POL_PO_LINE_ID>
<POL_PO_QUOTE_NUM />
<POL_QUOTATION_LINE />
<POL_CANCEL_FLAG>N</POL_CANCEL_FLAG>
<POL_CANCEL_DATE />
<POL_ITEM_REVISION />
<POL_LINE_TYPE>QUANTITY</POL_LINE_TYPE>
<POL_JOIN_RELEASE_ID>-1</POL_JOIN_RELEASE_ID>
<LIST_G_LINE_NOTES />
- <LIST_G_COUNT_SHIPMENTS>
- <G_COUNT_SHIPMENTS>
<NUMBER_OF_LINES>1</NUMBER_OF_LINES>
<C_RUNNING_NO_OF_LINES>1</C_RUNNING_NO_OF_LINES>
</G_COUNT_SHIPMENTS>
</LIST_G_COUNT_SHIPMENTS>
- <LIST_G_ITEMS>
- <G_ITEMS>
<C_FLEX_ITEM>AS54888</C_FLEX_ITEM>
<C_FLEX_ITEM_DISP>AS54888</C_FLEX_ITEM_DISP>
</G_ITEMS>
</LIST_G_ITEMS>
- <LIST_G_MSI_ITEM_ID>
- <G_MSI_ITEM_ID>
<MSI_ITEM_ID>2004</MSI_ITEM_ID>
<MSI_DESC>Dell Desktop</MSI_DESC>
<MSIT_DESC>Dell Desktop</MSIT_DESC>
</G_MSI_ITEM_ID>
</LIST_G_MSI_ITEM_ID>
<LIST_G_ITEM_NOTES />
- <LIST_G_SHIPMENTS>
- <G_SHIPMENTS>
<PO_HEADER_ID>600</PO_HEADER_ID>
<PLL_CONSIGNED_FLAG>N</PLL_CONSIGNED_FLAG>
<START_DATE />
<END_DATE />
<PLL_SHIPMENT_NUM>1</PLL_SHIPMENT_NUM>
<PLL_DUE_DATE>17-DEC-09</PLL_DUE_DATE>
<PLL_QUANTITY_ORDERED>100</PLL_QUANTITY_ORDERED>
<PLL_PO_LINE_ID>716</PLL_PO_LINE_ID>
<PLL_RELEASE_PRICE>150</PLL_RELEASE_PRICE>
<PLL_QUANTITY_CANCELLED>0</PLL_QUANTITY_CANCELLED>
<PLL_CANCEL_FLAG>N</PLL_CANCEL_FLAG>
<PLL_CANCEL_DATE />
<PLL_CANCEL_REASON />
<PLL_TAXABLE_FLAG>N</PLL_TAXABLE_FLAG>
<PLL_LINE_LOCATION_ID>907</PLL_LINE_LOCATION_ID>
<PLL_SHIP_TO_LOCATION>146</PLL_SHIP_TO_LOCATION>
<PLL_JOIN_RELEASE_ID>-1</PLL_JOIN_RELEASE_ID>
- <LIST_G_DISTRIBUTIONS>
- <G_DISTRIBUTIONS>
<POD_REQUESTOR_NAME />
<POD_LINE_LOCATION_ID>907</POD_LINE_LOCATION_ID>
<POD_QUANTITY_ORDERED>100</POD_QUANTITY_ORDERED>
<POD_DISTRIBUTION_ID>778</POD_DISTRIBUTION_ID>
</G_DISTRIBUTIONS>
</LIST_G_DISTRIBUTIONS>
<LIST_G_SHIPMENT_NOTES />
- <LIST_G_TAX_TYPE>
- <G_TAX_TYPE>
<TAX_TYPE>EXCISE_SH_EDU_CESS</TAX_TYPE>
<TAX_RATE>1</TAX_RATE>
<SUM_TAX_AMOUNT_>12</SUM_TAX_AMOUNT_>
<PO_HEADER_ID1>600</PO_HEADER_ID1>
</G_TAX_TYPE>
- <G_TAX_TYPE>
<TAX_TYPE>VALUE ADDED TAX</TAX_TYPE>
<TAX_RATE>4</TAX_RATE>
<SUM_TAX_AMOUNT_>649.44</SUM_TAX_AMOUNT_>
<PO_HEADER_ID1>600</PO_HEADER_ID1>
</G_TAX_TYPE>
- <G_TAX_TYPE>
<TAX_TYPE>EXCISE_EDUCATION_CESS</TAX_TYPE>
<TAX_RATE>2</TAX_RATE>
<SUM_TAX_AMOUNT_>24</SUM_TAX_AMOUNT_>
<PO_HEADER_ID1>600</PO_HEADER_ID1>
</G_TAX_TYPE>
- <G_TAX_TYPE>
<TAX_TYPE>Excise</TAX_TYPE>
<TAX_RATE>8</TAX_RATE>
<SUM_TAX_AMOUNT_>1200</SUM_TAX_AMOUNT_>
<PO_HEADER_ID1>600</PO_HEADER_ID1>
</G_TAX_TYPE>
</LIST_G_TAX_TYPE>
<C_PLL_NET_QUANTITY>100</C_PLL_NET_QUANTITY>
<PLL_SHIP_ADDRESS_LINE1>1,62, M.G. Road</PLL_SHIP_ADDRESS_LINE1>
<PLL_SHIP_COUNTRY>India</PLL_SHIP_COUNTRY>
<PLL_SHIP_ADDRESS_LINE3>Off Western Express Highway</PLL_SHIP_ADDRESS_LINE3>
<PLL_SHIP_ADR_INFO>401208</PLL_SHIP_ADR_INFO>
<PLL_SHIP_ADDRESS_LINE2>Near Bharat Petroleum Pump</PLL_SHIP_ADDRESS_LINE2>
<C_AMOUNT_PLL>15000</C_AMOUNT_PLL>
<C_SHIPTO_ADDRESS />
<C_AMOUNT_PLL_ROUND>15000</C_AMOUNT_PLL_ROUND>
<C_AMOUNT_PLL_DISP>15,000.00</C_AMOUNT_PLL_DISP>
<C_TOTAL_TAX_AMOUNT>1885.44</C_TOTAL_TAX_AMOUNT>
<SHIPMENT_ADDRESS>TRUE</SHIPMENT_ADDRESS>
</G_SHIPMENTS>
</LIST_G_SHIPMENTS>
<C_RUNNING_TOTAL>15000</C_RUNNING_TOTAL>
<C_MSI_DESC>Dell Desktop</C_MSI_DESC>
<C_SRC_BTEXT>This PO line references Quotation</C_SRC_BTEXT>
<C_MSIT_DESC>Dell Desktop</C_MSIT_DESC>
<C_ITEM_DESC>Dell Desktop</C_ITEM_DESC>
<C_AMOUNT_POL_ROUND>15000</C_AMOUNT_POL_ROUND>
<C_AMOUNT_POL_RELEASE>15000</C_AMOUNT_POL_RELEASE>
<C_AMOUNT_POL_DISP>15,000.00</C_AMOUNT_POL_DISP>
<COUNT_SHIPMENTS>1</COUNT_SHIPMENTS>
<LINE_DUE_DATE>17-DEC-09</LINE_DUE_DATE>
<LINE_TAXABLE_FLAG>N</LINE_TAXABLE_FLAG>
<COUNTRY>India</COUNTRY>
<POL_SUM_QUANTITY_ORDERED>100</POL_SUM_QUANTITY_ORDERED>
<ADDRESS_LINE3>Off Western Express Highway</ADDRESS_LINE3>
<ADDRESS_INFO>401208</ADDRESS_INFO>
<POL_SUM_QUANTITY_CANCELLED>0</POL_SUM_QUANTITY_CANCELLED>
<ADDRESS_LINE2>Near Bharat Petroleum Pump</ADDRESS_LINE2>
<ADDRESS_LINE1>1,62, M.G. Road</ADDRESS_LINE1>
</G_LINES>
</LIST_G_LINES>
- <LIST_G_CURRENCY_PRECISION>
- <G_CURRENCY_PRECISION>
<C_FND_PRECISION>2</C_FND_PRECISION>
<C_FND_CURRENCY_CODE>INR</C_FND_CURRENCY_CODE>
</G_CURRENCY_PRECISION>
</LIST_G_CURRENCY_PRECISION>
<LIST_G_RELEASE_HEADER_NOTES />
<LIST_G_HEADER_NOTES />
<LIST_G_CANCEL_RELEASE />
<POH_SHIP_ADDRESS_LINE1>1,62, M.G. Road</POH_SHIP_ADDRESS_LINE1>
<POH_SHIP_ADDRESS_LINE2>Near Bharat Petroleum Pump</POH_SHIP_ADDRESS_LINE2>
<POH_BILL_COUNTRY>India</POH_BILL_COUNTRY>
<POH_BILL_ADR_INFO>401208</POH_BILL_ADR_INFO>
<POH_BILL_ADDRESS_LINE3>Off Western Express Highway</POH_BILL_ADDRESS_LINE3>
<POH_BILL_ADDRESS_LINE2>Near Bharat Petroleum Pump</POH_BILL_ADDRESS_LINE2>
<HEADER_ADDRESS>TRUE</HEADER_ADDRESS>
<POH_BILL_ADDRESS_LINE1>1,62, M.G. Road</POH_BILL_ADDRESS_LINE1>
<POH_SHIP_COUNTRY>India</POH_SHIP_COUNTRY>
<POH_SHIP_ADR_INFO>401208</POH_SHIP_ADR_INFO>
<POH_SHIP_ADDRESS_LINE3>Off Western Express Highway</POH_SHIP_ADDRESS_LINE3>
<C_AMOUNT_POL_RELEASE_TOTAL>15000</C_AMOUNT_POL_RELEASE_TOTAL>
<C_FIRST_PAGE>1</C_FIRST_PAGE>
<C_FAX_HEADER />
<C_FAX_TRAILER />
<C_AMOUNT_POL_TOTAL>15000</C_AMOUNT_POL_TOTAL>
<C_ORIGINAL_BUYER>Consultant</C_ORIGINAL_BUYER>
<C_REQUESTORS_COUNT>0</C_REQUESTORS_COUNT>
<C_DISTRIBUTIONS_COUNT>1</C_DISTRIBUTIONS_COUNT>
<C_LAST_SUM>1</C_LAST_SUM>
<C_ONE_REQUESTOR />
<POH_NO_OF_LINES>1</POH_NO_OF_LINES>
<POH_AMOUNT_AGREED_ROUND />
<C_AMOUNT_POL_TOTAL_ROUND />
<C_AMT_POL_RELEASE_TOTAL_ROUND />
<C_CONTINUED_OR_TOTAL />
<C_AMOUNT_POL_TOTAL_DISP />
<C_CURRENCY_PRECISION>2</C_CURRENCY_PRECISION>
<TEST>0</TEST>
</G_HEADERS>
</LIST_G_HEADERS>
</G_INIT_INFO>
</LIST_G_INIT_INFO>
<WHERE_CLAUSE>AND 1=1</WHERE_CLAUSE>
<PO_NUM_TYPE>NUMERIC</PO_NUM_TYPE>
<ORGANIZATION_ID>84</ORGANIZATION_ID>
<C_ARCHIVE_SUCCEED>1</C_ARCHIVE_SUCCEED>
<C_MARGIN_FIELD />
<C_EC_WHERE_CLAUSE>AND NOT EXISTS (SELECT 'X' from ECE_TP_DETAILS ETD, ECE_TP_HEADERS ETH, PO_VENDOR_SITES E_PVS WHERE E_PVS.VENDOR_SITE_ID = POH.VENDOR_SITE_ID AND ETH.TP_HEADER_ID = E_PVS.TP_HEADER_ID AND ETD.TP_HEADER_ID = ETH.TP_HEADER_ID AND ETD.EDI_FLAG = 'Y' AND ETD.DOCUMENT_ID = 'POO' AND ETD.DOCUMENT_TYPE = POH.PO_TYPE )</C_EC_WHERE_CLAUSE>
<C_ADDRESS_AT_TOP />
<C_CONTINUED />
<CS_POH_RELEASE_TYPE />
<CS_POH_VENDOR_NAME>PCFC</CS_POH_VENDOR_NAME>
<CS_POH_PO_NUM>202</CS_POH_PO_NUM>
<CS_POH_BUYER>Consultant</CS_POH_BUYER>
<CS_POH_AGENT_ID>61</CS_POH_AGENT_ID>
<CS_FAX_TRAILER />
<CANCEL_WHERE_CLAUSE>1=1</CANCEL_WHERE_CLAUSE>
<CS_TOTAL_TAX_AMOUNT>1885.44</CS_TOTAL_TAX_AMOUNT>
</XXJAPRPOL>
Edited by: |SN| on Dec 25, 2009 10:28 PM

Just store the entire EXCISE node in a variable and refer it in G_HEADERS
Store the node 'LIST_G_EXCISE_DUTY_REG_NO' in a variable 'G_EXCISE' as below
<?variable:G_EXCISE;/XXJAPRPOL/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_EXCISE_DUTY_REG_NO?>
Now refer G_EXCISE_DUTY_REG_NO inside G_HEADERS as below:
<?for-each:/XXJAPRPOL/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_HEADERS/G_HEADERS?>
<?POH_PO_NUM?>
excise info:
<?for-each:$G_EXCISE/G_EXCISE_DUTY_REG_NO?>
Cst: <?CST_REG_NO?>
Vat: <?VAT_REG_NO?>
<?end for-each?>
<?end for-each?>
Hope this is what you want.
Regards,
Kavipriya.

Similar Messages

  • How to change XML Tag sequence in XML Publisher Reports

    Hi Experts,
    I am working on XML Publisher reports, EBS 11I and Database 9i. I have standard report 'PO Printed Purchase Order Report (XML)', it's output type is XML. I want to change the sequence of groups in XML file.
    I am getting XML tags like below at present:
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_HEADER_NOTES
    I want to change the sequence of groups like below.
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_LINES \
    Could somebody help me how to change the sequence of XML Groups.
    Thanks in advance.

    Paul,
    This works.  Thanks!
    I am still working through the implications of having a data connection defined.  I notice that every time I submit, it creates two records in my database, one with all the fields blank, and one with the data and attachment.
    I will have to do some more digging into the double submission, but at least it is uploading the file.
    Thanks again,
    Ed

  • How to get XML tag attribute vaue in Oracle

    Hi,
    I have XML file which have order tag
    <submitOrderRes>:Application Exception: SOS</submitOrderRes>.
    From this xml file i want to display only the tag value , which is 'Application Exception: SOS'.
    how to get this tag value by select SQL
    any help is appreciate
    TY

    I don't know your query
    Here is the example
    SQL> l
      1  select
      2  extractvalue(xmltype(dbms_xmlgen.getxml('select * from emp where rownum=1'))
      3  ,'/ROWSET/ROW/ENAME') col_value
      4* from dual
    SQL> /
    COL_VALUE
    SMITHSS

  • How to Read XML tags....

    Hi guys...
    Can any one here tell me how to read the XML tag in PL/SQL.
    In table Enquiry there are following fields.
    Id          number
    Status          varchar2(5)
    Request          XML
    Reply          XML
    Error          varchar2(10)
    Now the following XML will be in request column from the requester.
    I have to get the,
    ->request which is in BODY tag,
    ->ID number which is in from tag (its the persons unique ID to check his BILL)
    Fetch the request from the database and updates it into the REPLY field with the same syntax.
    <message>
    <to> 123 </to>
    <from>789</from>
    <body> unbill </body>
    <messagenumber> 01 </messagenumber>
    </message>
    Can any one have the solution to this, how can I read the XML tags, process & again inserts as an XML.
    Thanks.

    Maybe something like this will be a pointer...
    SQL> CREATE TABLE t AS
      2  select 1 as id, 'C' as status, XMLTYPE('<message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>') as request, XMLTYPE('<reply/>') as reply, 'NO ERROR' as error from dual
      3  ;
    Table created.
    SQL>
    SQL> SELECT * from t;
            ID S
    REQUEST
    REPLY
    ERROR
             1 C
    <message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>
    <reply/>
    NO ERROR
    SQL>
    SQL> UPDATE t
      2  SET reply = updateXML(request,'/message/body/text()','bill')
      3  ;
    1 row updated.
    SQL>
    SQL> SELECT * from t;
            ID S
    REQUEST
    REPLY
    ERROR
             1 C
    <message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>
    <message><to>123</to><from>789</from><body>bill</body><messagenumber>01</messagenumber></message>
    NO ERROR
    SQL>

  • How to delete xml tags Urgent

    on release function i am inserting this value
    "(&-box*&", "&*box-&
    " in to my text box,
    in text box will display like this (squarebox), when i am
    trying to delete
    squarebox ,
    box deleting but
    (&-box*&", "&*box-&
    these xml elements are showing , what i have to
    do ? it has to delete,
    it amy have multipule box in my equation. how do delete xml
    elements in this case, this is my xml code. how to delete? any one
    can help me?

    Then you should provide more details on what you want this new script should do.
    To "delete XML tags in already tagged text", all you need is use the "untag" command on an XML Element. But how would the script "know" what XML Element should be untagged?
    Disclaimer: This reply is in no way enforceable, legally binding, a promise or contract, an agreement (written, verbal, or otherwise), a commitment, obligation, or free or paid-for offer of any kind to further help, guide, aid, tip, or not hinder you, or contribute to, correct, investigate, comment on or assist with any existing, forthcoming, or planned project.

  • How to delete XML Tags in already tagged text?

    Hi everyone,
    I looked in all the topics but with no results.
    Is there anyone that can help me with this script?
    Thanks
    Ivan

    Then you should provide more details on what you want this new script should do.
    To "delete XML tags in already tagged text", all you need is use the "untag" command on an XML Element. But how would the script "know" what XML Element should be untagged?
    Disclaimer: This reply is in no way enforceable, legally binding, a promise or contract, an agreement (written, verbal, or otherwise), a commitment, obligation, or free or paid-for offer of any kind to further help, guide, aid, tip, or not hinder you, or contribute to, correct, investigate, comment on or assist with any existing, forthcoming, or planned project.

  • How to extract xml tag name contains dashes

     
    Hi, How to parse XML file to extract root tag contains dashes in Flex,for example
    XML Input is: <regular-body>Text of my post...</regular-body>
    expected output is : regular-body
    I appreciate any of your suggestions or inputs

    Do you want to get the name of the XML ELEMENT regular-body, or the value in the XML file "Text of my post...".
    If its the latter, then you could use the bracket/quote notation for extracting the value, like in the following example:
    image = xmlWeather[0]..parameters["conditions-icon"]["icon-link"][idx]
    I use this when parsing weather information from a 3rd party in which their XML is loaded with dashes.
    If you are looking to get the actual element name, not sure how to do that.  I would think that if you are using an XML file, you would have at least the high level element known.

  • Output to the printer printing xml tags with actual output

    Hi,
    we are calling fnd_request.submit_request with 'XDOREPPB' and assigning a printer to it.
    the output that is getting printed has both the xml tags and the actual output.
    anyone has any idea what might be the reason.
    Regards,

    Got the solution. These tags are getting generated from standard report and we can use <columnname>[1], <columnname>[2]... etc if there are multiple tags with same tag names.

  • How to print XML report in French Language?

    Hi,
    I need to print XML report in French language, currently it display in English language.
    I have used following steps:
    1. I enabled French language on my oracle apps instance.
    2. Created the concurrent program with output type as XML
    3. Created Data Definition using XML Publisher Responsibility
    4. Created template. At the time of creation of templete, enabled Translatable check box and click Apply
    5. Once template is uploaded, you will find two buttons. Export Translation and Upload Translation.
    6. Clickd on Export Translation. XLF file opened.
    7. In XLF file - e. g. source-language="en-US" target-language="fr-FR".Source is English and fr is for French language and FR is territory.
    8. Update the target fields in French language. In the below example source field is in English language and target is in French language. This indicates that wherever the Invoice Date is present in RTF template it will be
    replaced by the target field in french language.
    <source>Invoice Date:</source>
    <target>Date de facture:</target>
    9. Updated the same for all fields and finally import the updated translation file.
    10. But When i run report , output display in English not in French.
    Please any one can help, what should in do next to print in French Language.
    Thanks,
    Sunil Mane
    Edited by: 973411 on Nov 30, 2012 6:56 AM

    Are you selecting the Template at the time of Program submission?
    Check in the Options while submitting the Program

  • How to pass XML tags in a soapbody parameter having datatype as string?

    Hi,
    I need to pass XML tags as a String parameter in SOAP:Body.
    When I tried send SOAP Request, The SOAP Request was changing < to <
    and > to > respectively. Is there any way to ensure that the XML tags (< and >) remain as it is without getting changed.
    I also tried to retrieve XML file and stored in a StringBuffer and tried to send SOAP Request but i am still receiving the < and > tags in my SOAP Request.
    Pl suggest some alternatives to avoid storing the XML in the form of string and instead directly store the XML into a XML Node so that i can avoid the above condition
    Thanks in advance,
    gnsinhyd

    Hi,
    The sample code I used is as follows:
    package somepackage;
    import javax.mail.internet
    import javax.xml.messaging.*;
    import javax.xml.soap.*;
    import javax.xml.transform.*;
    import javax.activation.*;
    public class SomeClassName{
    // Some namespace declarations
    public static void main(String[] args) throws someExceptions{
    try
    // Create the connection
    SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = connectionFactory.createConnection();
    // create a new SOAP message using SAAJ API�s
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage request = messageFactory.createMessage();
    // Create a SoapAction header
    MimeHeaders headers = request.getMimeHeaders();
    headers.addHeader("SOAPAction", "soapaction url");
    // Object for SOAP Message parts
    SOAPPart part = request.getSOAPPart();
    SOAPEnvelope envelope = part.getEnvelope();
    envelope.addNamespaceDeclaration("xsd","http://www.w3.org/2001/XMLSchema");
    envelope.addNamespaceDeclaration("xsi","http://www.w3.org/2001/XMLSchema-instance");
    //envelope.addNamespaceDeclaration("enc","http://schemas.xmlsoap.org/soap/encoding/");
    envelope.addNamespaceDeclaration("soap","http://schemas.xmlsoap.org/soap/envelop/");
    //envelope.setEncodingStyle("http://schemas.xmlsoap.org/soap/encoding/");
    SOAPBody body = envelope.getBody();
    SOAPHeader header = envelope.getHeader();
    // Now, build the ClaimStorage element in the body for our request
    Name somename = envelope.createName("somename");
    // � and configure it with the specifics of our request
    SOAPElement ClaimStorage = body.addTextNode("somename");
    ClaimStorage.addNamespaceDeclaration("xmlns","url");
    ClaimStorage.addChildElement(somename).addTextNode("somename");
    ClaimStorage.addChildElement(xmlclaim).addTextNode("<XMLTAGS">); <---THE PROBLEM IS HERE
    ----> THE XML TAGS < > ARE CHANGING TO &LT; AND &GT; MOST PROBABLY DUE TO POST I THINK.
    // Save Message
    request.saveChanges();
    // View SOAP Request
    System.out.println("\n Soap Request:\n");
    request.writeTo(System.out);
    System.out.println();
    // Now, create a connection to the HTTP SOAP endpoint
    URLEndpoint endpoint = new URLEndpoint("url.asmx");
    // Send request, view response. In a real program, we�d process the response envelope programmatically to see if there was a fault, etc.
    System.out.println("request =\n" + request);
    SOAPMessage response = connection.call(request, endpoint);
    // View the output
    System.out.println("\nXML Response\n");
    // Create Transformer
    TransformerFactory tff = TransformerFactory.newInstance();
    Transformer tf = tff.newTransformer();
    // Get reply content
    Source sc = response.getSOAPPart().getContent();
    System.out.println("SOAP Body" + response.getSOAPBody());
    // Set output transformation
    StreamResult result = new StreamResult(System.out);
    tf.transform(sc, result);
    System.out.println();
    // Close connection
    connection.close();
    System.out.println("\nResponse =\n" + response);
    catch (Exception e)
    e.printStackTrace();
    Pl. reply as soon as possible
    Thanks in advance

  • How to set xml tag to nothing in indesign using applescript?

    Hi guys,
    I need set xml tag to nothing(for tables)  in indesign using applescript.
    Please help me.

    Hi,
    tell application "Adobe InDesign CC 2014"
        tell active document
            if (count of story) > 0 then
                tell story 1
                    if (count of tables) > 0 then
                        tell table 1
                            set tag_name to associated XML element ----------------> i can't get xml  tag, i am receiving the  xml tag is nothing.
                            if (tag_name = nothing) then
                                display dialog ("This table has no tag")
                            else
                                set markup_tag to markup tag of tag_name
                                set n to name of markup_tag
                                display dialog ("Tag name is " & n)
                            end if
                        end tell
                    end if
                end tell
            end if
        end tell
    end tell
    I can't get xml tag for table,  i am received nothing

  • How do move ALL contacts from other groups into iCloud contacts group

    Is there a way to make Icloud contacts the default for the "groups" on my iphone ?
    OR
    is there a way to merge ALL the other groups into icloud contacts so i just have the one Icloud group to deal with on the iphone ?
    Thanks !

    This page: http://www.macworld.com/article/1054187/outlooktoaddress.html - has this to say:
    'Under Outlook 2002 you could simply open your contacts and drag them to the desktop to turn them into vCards. No longer. Try this and the contacts are converted to messages.
    While you can select a single Outlook contact, choose File -> Save As and, in the resulting dialog box, choose vCard Files from the Save as Type pop-up menu, this works only for individual contacts—you can’t export a group of contacts this way.
    You have a few options for eventually getting the things out of Outlook. The first is to select all your contacts and choose Action -> Forward as vCard. Outlook will create a new email message that contains all your contacts as individual vCard attachments. Send this message to yourself, pick it up on the Mac, drag these files into Address Book or Entourage’s Address Book and you’re good to go.
    Or Sperry Software can lend a hand with its $20 vCard Converter Add-in for Microsoft Outlook. This adds a service that enables Outlook to export all your contacts as a single vCard.'
    A Microsoft Help Page suggests:
    'The simplest way to do this would be to export your Outlook contacts to a tab-delimited file and then import that into Address Book.
    In Outlook select File menu --> Export... and select Contacts to a list (tab-delimited text).
    Save the new file to your Desktop.
    In Apple's Address Book select File menu --> Import... and select your file.
    Use the next window to match the field names in Address Book with those in your export file'
    If using either method you import into Address Book you can sync that to iCloud, which is probably easier than trying to import into the iCloud website. If you're prepared to splash out $20 the Sperry Software program would  simplify matters a lot.

  • How to reveal XML tags in InDesign CS5.5?

    I'm trying to tag a business catalog for an XML export. I've never done it before - but our sister company has done the same task with a similar catalog. I can view their catalog in InDesign CS5.5 for Windows over a VPN connection in order to see how they tagged their catalog.
    I'm doing this task on a Mac using InDesign CS4. The interfaces are not the same. The biggest problem is the sister company is in Czech and so is InDesign. I need to open the tags pane. On the Mac, its just "Window>>Tags." There is a "Window" (Okna) menu, but I'm not seeing a "Tags" choice. I have the structure open, but I want to see all the little colored tags. How do I reveal these on the Windows CS5.5 version?
    Thanks

    Wouldn't it be View > Structure > ... ?

  • How to read XML tags in a file, one at a time?

    My file format is:
    <main>
    <section>
    (many tags, some including CDATA)
    </section>
    <section>
    (many tags, some including CDATA)
    </section>
    many more <section>s (over a million)
    </main>
    To avoid reading all the <section>s into memory, how can I read one <section> at a time?
    Thanks in advance.

    sunmhe wrote:
    To avoid reading all the <section>s into memory, how can I read one <section> at a time?If you really want to process huge XML's; you can use SAX or STAX API.

  • How to parse XML tag value having '&' character.

    Hi,
    I have one XML for which value contains '&'. So when I am trying to get the value of that tag from a PL/SQL package its throuwing error as follows:
    XML Parse Error: [line 35:col 38] - The reference to entity &quot;SO&quot; must end with the ';' delimiter.
    XML :
    [b]<LOCCODE>GECORP,Albany1,CP&SO</LOCCODE>
    Please let me know how could i handle this '&'.
    Thanks
    Debashree

    hint: How is it handeld in html? (check www.w3cschools.com)

Maybe you are looking for

  • HP Pavilion A1429.UK - No Sound On Windows 7 Home Premium

    Hey folks, got a wee problem. I have recently put Windows 7 Home Premium onto my computer.  The install worked perfectly but every time I install the drivers for the X-120 speakers that came with the computer, after a few hours it disable itself and

  • Load RCproject in iMovie HD?

    Hello! I have a question which I cannot find the answer to. I need a way to open an .rcproject file in iMovie HD... dont have access to a computer with iMovie 8 or 9 only HD... is there any way to do this?

  • LOST recovery disk

    i lost my cd's now am havin problem with my sound system I opt to format my pc but I can't afford a win7 as am a student don't wanna use cracked and now I have no recovery cds pls can I possibly download this or any other means? Am in africa and can'

  • Photoshop subscription and 32 bit system

    Hi, I purchased a subscription which I thought would enable me to use Photoshop and pay monthly. I was then informed my system wasn't compatible with CC. Despite this, I thought I could continue, (and it let me) download Photoshop. Unsurprisingly it

  • How to run a File digitally signed by me on someone else computer i like?

    My pdf file that I signed by my digital id is not running on someone else computer & Its saying that no digital id present to decrypt it,contact document author.I want to know what measures should i addopt so that it runs on computers of my choice of