How to remove the header tag in the XML data ?

Hi All,
I am sending an XML data from SFTP to Proxy, in that I want to remove the header tag (first tag) from the xml, while loading the data. how to do that ?

Hi,
      It is not about the thing that, whether your source is XML or flat file. If you dont want some thing in your source file , dont consider it and dont map it with your target structure. think that, your not getting the header in your source.  What is the header here.
<Emp_details>
<Emp_Id> Employee No </Emp_Id>
<Emp_Name> Employee Name </Emp_Name>
</Emp_details>
<Emp_details>
<Emp_Id> 1234 </Emp_Id>
<Emp_Name> xxxx </Emp_Name>
</Emp_details>
<Emp_details>
<Emp_Id> 5678 </Emp_Id>
<Emp_Name> yyy </Emp_Name>
</Emp_details>
you have two fields under node Emp_details. What do u want to avoid here?
Regards,
Reyaz

Similar Messages

  • JAXB / Needs to add header tag and close the header tag at the bottom

    I have successfully generated a XML file based on the XSD. I want to add another tag to my generated XML which is not the part of the XSD. Its like adding my whole xml inside a new tag. Is there a way to achieve it?User_10111723083878.xml
    to this xml, I want to add as the parent element "<addRequest targetID="BottomLineTarget" executionMode="asynchronous" xmlns="urn:oasis:names:tc:SPML:2:0">
    <data>" and close it at the bottom of the xml.
    Is it possible?

    the easiest way would be to create an xsd which includes this new wrapper element, and wrap the original object with your new wrapper object before serializing.
    an alternative would be to serialize the original object into a DOM object, then add the wrapper element manually before serializing that DOM object to your final destination (e.g. the xml file).

  • Problem applying Spry tool tips to child pages because the head tag is in a locked region

    I’m new to DW and migrating a site from GoLive CS2 to DW CS5. The site uses templates created in GL CS2. I have stripped out as much GL stuff as possible.
    I want to use the SPRY tooltips as a way to show captions for graphics that are on some of the pages (I used to use an Open New Browser window for that but I don’t have as much control in DW as I did in GL). But when I try to apply SPRY tooltips (or any SPRY widget for that matter) I get the following message:
    “Required links could not be added to this file because the <head> tag is in a locked region. To insert this content, open the template file ‘xyz.dwt’ and either unlock the <head> tag or add this content to the template.”
    I am not sure how to go about solving this problem. In the template there is an editable region for adding graphics but in the template itself there are no graphics or anything else to apply a tooltip too. Also in the child pages there may be more than one place to use a tooltip. So that suggests to me that I should not add a tooltip to the template. That brings me to the other option.
    How would I go about unlocking the  <head> tag in the template, without messing everything up?
    Or, should I detach any page from the template when I want to add tooltips then reapply the template? I am planning to ditch the GL template anyway and apply a DW template to all the pages anyway.
    Any suggestions as to what I should do?
    Yours faithfully
    Branko
    PS I’m using Mac with Snow Leopard.

    I found a solution.
    I just made a transparent PNG. Put it in an inconspicuous part of the template. On the child page I could make as many copies as I needed making sure I provided id tags for each use etc.

  • Can I prevent the #HEAD# tag from loading jQuery in APEX 4?

    I am using APEX to generate a report that is specifically designed to be viewed on a BlackBerry phone.
    When accessing the APEX 3.2 version of the application from a BlackBerry phone it works fine.
    When accessing the APEX 4.0 version (exported from 3.2 and imported to 4.0) the BlackBerry browser reports the following error:
    HTTP Error 413: Request Entity Too Large
    The page you requested could not be loaded. Please try loading a different page.
    I have tracked this down to the use of jQuery-UI by APEX 4.0.
    I can reproduce the error in APEX 3.2 by loading the jquery-ui.min.js file in the Page Template.
    So, is there any way of preventing APEX 4.0 from loading jQuery or jQuery-UI by default in the #HEAD# tag of the page template?
    Richard

    Hi,
    You can set page attribute Include Standard JavaScript and CSS to No.
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/bldr_pg_edit_att.htm#BACHFFBE
    Of course then any of Apex JavaScripts are not loaded
    Regards,
    Jari

  • I can't print web pages or emails. All I get is a blank page with nothing but the headed tag at top.

    I can't print my emails. Tried to get help from my email provider. They asked if I could print pages. I tried and found out that didn't work either. All I get is a blank page with the header tag at the top.

    Hi,
    Please see [http://kb.mozillazine.org/Problems_printing_web_pages this]. If the web page has a Print button/icon you can try to use that. You can also try right-clicking on the relevant section of the page > '''This Frame''' > '''Print Frame'''.
    [https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox?e=sph&redirectlocale=en-US&as=s&s=printing&r=0&redirectslug=Firefox+prints+incorrectly Fix printing problems]

  • Including HTML tags in Spry XML data sets

    How does one add HTML tags to Spry XML data sets so that the displayed items include that markup?
    For example, I might want to bold-face words within XML data items. I have tried adding the markup, but instead of seeing, for example:
    This is bold face
    in the Spry table, I see:
    This is <b>bold</b> face
    I have tried using CDATA elements in the XML to no avail.

    Set the data type for the column as per
    var ds1 = new Spry.Data.XMLDataSet("myData.xml", "rows/row");
    ds1.setColumnType("myColumn", "html");
    Gramps

  • How to remove Print pdf link below the reports?

    How to remove print pdf(only pdf. i need html) report which is available below the reports? I am not asking to remove it from the print icon at the left bottom of the page. I need it to be deleted from the link in the middle of the page below the report.

    Go to
    C:\OracleBI\web\msgdb\messages\controlmessages.xml
    Then
    Remove The below Tag From the control messages.xml
    <sawm:if name="enablePDF"><a class="NQWMenuItem" name="pdf" href="javascript:void(null)" onclick="return PortalPrint(&#39;@{pdfURL}[javaScriptString]&#39;,@{bNewWindow});"><sawm:messageRef name="kmsgDashboardPrintPDF"/></a></sawm:if>
    After that Restart the server.
    You will not find the pdf link
    Edited by: 848525 on Apr 21, 2011 4:17 AM

  • Access to the head tag in a portal generated page

    We have a situation where we need to put some javascript in the <head> tag of a page so that it can be accessed by a javascript portlet. Any ideas?
    -Rob

    This capability is not there in 3.0.6 and 3.0.7. In 3.0.8 (due out end of this month), we have added a template capability which allows you to assign an html template to a page. The template could contain the javascript.
    In the interim, others have created an html portlet that contains the javascript, placed it on the page and turned it off by default. This works, but any user with customization rights to the page could remove it, so the title should read something like 'Do Not Remove!'

  • How to use the HTML tags in the reports.

    hi.
    can any one tell me how to use the HTML tags in the reports.
    i m using the forms 10 g rel 2 and reports 10 g rel 2 and application server 10g rel 2.

    Set the Contains HTML Tags property of an object to Yes, then the tags in the object's text (if any) will be used to format the object.

  • How to remove my credit card from the App Store

    How to remove my credit card from the App Store

    I used a pre-loaded credit card so when it ran out i had problems, primarily because it wont let me download or update anything until the "billing problem with the last transaction" was resolved. I dont really care if the purchase goes through but i want to be able to update stuff again and it wont give me the option to select 'none' under payment type. do i have to put another card on there just so i can "resolve the billing problem" and then i have  to take it off again or is there a way around this or is it a never ending cycle?

  • How can I see the selected tags in the tag bar clearly

    How can I see the selected tags in the tag bar clearly (they used to be in black, now they do not change color; a highlight or Bold would help)

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • Any ideas on how to remove a small scratch from the screen or whether it is covered by apple?

    Any ideas on how to remove a small scratch from the screen or whether it is covered by apple?

    Call Apple Care and ask them if your computer is still under warranty. 

  • How to append the declaration tags to generated xml using Xquery

    Hi,
      How to append the declaration tags to generated xml using Xquery.generated XML is like
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Here I want to append the <?xml version="1.0" encoding="ISO-8859-1"?> and the result xml should be
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Can anybody help to do this.
    Thanks
    Mani

    First assign this element to a temp variable
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Now in XQuery expression create a new variable
    <?xml version="1.0" encoding="ISO-8859-1"?>
    $temp

  • Podcasts : how to access the "Grouping" tag in the Info window ?

    I upgraded yesterday to iTunes v12.1, and today I discovered that I cannot anymore access to the "Grouping" tag in the Info window (still available using ALT/OPTION in iTunes v12 and v12.0.1).
    The "Genre" tag still available, but it is useless for Podcasts episodes, as ALL of them are pre-identified as "Podcast"…
    Anyway, the "Grouping" tag is still present within the Podcasts files and the iTunes episodes datebase, as I can display it as a column in the "My Podcasts" pane (list of episodes) !
    Does anybody know a way to still access/modify this tag field "Grouping" for Podcasts ?

    CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED.
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
        METHODS HANDLE_DOUBLE_CLICK
        FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID.
    ENDCLASS.                    "cl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_DOUBLE_CLICK.
    PERFORM HANDLE_DOUBLE_CLICK.
    ENDMETHOD.
    DATA:EVENT_RECEIVER TYPE REF TO LCL_EVENT_RECEIVER.
    <AT PBO>
      SET HANDLER EVENT_RECEIVER->HANDLE_DOUBLE_CLICK FOR GO_GRID.
    <AT PAI>.
    FORM HANDLE_DOUBLE_CLIC .
    FLAG = 1.
    LOOP AT LT_LVCFIELDCAT INTO LS_LVCFIELDCAT.
    IF LS_LVCFIELDCAT-FIELDNAME = 'ABC'  AND FLAG = 1.
      LS_LVCFIELDCAT-SELTEXT = <WHAT EVER U WANT>.
    MODIFY LT_FIELDCAT FROM LS_FIELDCAT..
    ENDIF.
    CLEAR FLAG.
    ENDLOOP.
    ENDFORM.
    NOTE: IAM PUTTING FLAG BECAUSE WHEN U GO BACK IN THE ORIGINAL SCREEN U SHOULD GET THE OLD TEXT, SO , THERE U CHECK FOR FLAG = 0.
    AND UR SECOND QUESTION, PLS EXPLAIN IT CLEARLY

Maybe you are looking for