Remove an object from the XML file generated by PDF

Hello

In a step of the workflow user of my PDF, the user presses a submit button that sends XML data to an address. There is an image field that has hundreds of lines of XML code that does not need to send.  Indeed, at the time when this button is pressed "submit", the image field is already "hidden", but of course, it remains in the form.

Is there an any access or visibility of goods which will remove an object enough that it is not transfer with XML?  How would you dynamically remove a field on the user-end?

Hello

One solution, use an ImageField object instead of an Image object. Then go to object > Binding palette and for binding, select without binding data (or none, depending on your version of the designer of the LC).

Because you are currently using an ImageField you need one line of code to its event docReady (JavaScript):

this.access = "readOnly";

The lines in the XML data file contains the image to Base64 format.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • How to remove unused objects from the webcatalogs?

    Hi friends,

    How to remove unused objects from the webcatalogs?
    is there a utility like the removal of unused objects of the physical layer in RPD?

    Thank you

    Hello

    Click link responses to the left of the answers click on the catalog button manage manage catalog, you can delete the unused objects

    Concerning

    NGO

  • create table from the XML file at several levels

    Hello

    I'm working on the provision of an app to display xml data, which are currently using data from the settings file where the data was stored in a table.

    CONT =]
    [{txt: 'Perfume'} //main menu]

    [[{txt: 'Top Note', framework: 'topNote'}, {txt: 'Heart notes', frame: "heartNote"}, {txt: frame, 'Note of Base': 'gaps'}] / / submenu]

    ,[
    {txt: 'Packaging', field: 'packaging'} / / main menu

    ]

    ]

    I created an xml file and am able to recover data and impossible to find the same.

    Here's the xml file

    < Products >
    < produces txt = setting "Perfume" = "" > "".
    < = frame 'Top Note' = "topNote" txt file name > < / name of the file >
    < = txt file name ' heart notes"frame ="heartNote"> < / name of the file >
    < file name txt = "Core score" frame = 'gaps' > < / name of the file >
    < / product >
    < produces txt = framework of 'Packaging' = 'packaging' > < / product >
    < produces txt = framework "3D Animation" = "tvAd" video = "true" flvName = "video.flv" w = "547" h = "309" > < / product >
    < product txt framework "advertising Lla' = 'the package' = >
    < name of the txt-file = "Print Ad Creative Pack" frame = "printCp" > < / name of the file >
    < / product >
    < / product >

    AS A CODE

    ---------------------------------------

    (GlobalVarContainer.myXML is the place where is stored the xml file)

    var node:XMLNode = GlobalVarContainer.myXML.firstChild;
    var navItm:int = int (node.childNodes.length);
    for (i = 0; i < wheel; i ++) {}

    var temp_array:Array = new Array();
    var subnavCount:int = int (node.childNodes [i].childNodes.length);     subnav
    var obj:Object = new Object();
    obj.txt = node.childNodes [i] .attributes ['txt ""]
    obj. Frame = node.childNodes [i] .attributes ["frame" "]
    trace (node.childNodes [i]. Attributes ['txt'])

    for (var j: int = 0; j < subnavCount; j ++)
    {
    trace (node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'])
    obj.subtxt = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'];
    obj. Subframe = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['frame'];
    temp_array.push (obj);
    }
    GlobalVarContainer.my_array.push (temp_array);

    }

    If I add - trace (GlobalVarContainer.my_array); -to code the outout is

    [object Object], [object Object], [object Object]
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object], [object Object]

    but trace (.txt [i] GlobalVarContainer.my_array + "array"); or trace (GlobalVarContainer.my_array [i] [0] .txt + "array"); no results.

    need advice to move forward from here.

    Thank you

    AYUSH

    What I meant is that if you load the XML e4x, you have to analyze in a table to use it. You can retrieve the syntax of e4x XMLList and use it directly in your code. You can treat the XMLList almost as you treat any array using a for each loop for example.

    Take the code below as an example and adapt it to your needs:

    var mainMenu:XMLList = this.testXML.menu;

    for each {var menu: XML (in mainMenu)}

    trace ("Menu:" + menu.@txt);

    You can use your logic to create menu main point here

    var mynavItem:Navitem = new Navitem (0, spatie * i, GlobalVarContainer.my_array [i] [0], [i, 0], false, true);

    this.holder.addChild (mynavItem); ABLE TO VIEW THE MAIN MENU

    var items: XMLList = menu.children ();

    If (items.length () > 0) {}

    for each {var point: XML (in the points)}

    trace ("point:" + item.@txt);

    Logic of creation of subitem here

    var mySubnavItem:Navitem = new Navitem (dash, spatie * (i + 1 + j), GlobalVarContainer.my_array [i] [2], [i, j], true);

    this.holder.addChild (mySubnavItem);        DISPLAYS ONLY THE LAST ENTRY IN THE SUBMENU

    }

    }

    }

  • How to display records from the xml file

    Hi all
    I created a region his area of research in reality
    with 5 elements and array of result area

    I want to search records based on the 5 elements and want to view output table


    I have the table name as hr_api_transactions, which contains many columns



    and also, this table contains a column
    name TRANSACTION_DOCUMENT of type CLOB()
    that files xml columns for each record
    I want to extract data from this xml file and want to display.

    Instance of the view - put the name of VO with which you are extracting data

    Discover the attribute and the attribute of file View - could see attribute by which you found the content of the file

    File name substitution - is not mandatory, let him

    The MIME type of the file: do not place anything, need to better manage programmatically through. Put the code in the below processRequest() method

    OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(downloadBean,
      "FileContentType"); // here "downloadBean" is bean of message Download item
    downloadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
    

    -Anand

  • Data from the XML file in a large application...


    I don't know what question is asked.  The subject contains XML files and large scale applications, yet the last lines refer to write a Cluster in XML and seems to wonder if the Cluster must be a Global Variable or a TypeDef.

    A 'good idea' general is to create a TypeDef that specifies (or "sets") (almost) each Cluster that you create in LabVIEW.  This serves as a single-point cluster definition.  If you need to make changes, you change the TypeDef and variables based on it change to match.

    I do not understand why the Global Variables and TypeDefs are mentioned in the same sentence.

    Bob Schor

  • Data from the XML file

    Hello

    The attached xml file contains data that I would like to extract. The value of the data has the label (ubchild? name /) of ' means ".". " This can happen a number of times in the file for the names of different children.  for example

    SENS0710:10951:IntSolIrr has the value that

    742.320755

    and

    SMBAU008:154000347:m_S0 kWh has the value that

    227.458679

    and so on...

    The attached vi is very very simple and uses the vi JKI EasyXML to parse the file to a data type of labview.

    This is the point at which I need advice as to the way forward. I have reflected on the variant data, clusters, etc., but can't seem to get anything close to work.

    Someone would be kind enough to give me some tips or tricks to extract these values in a table.

    Thankl you

    Concerning

    Ray

    Hi rayclout,

    I don't have parser Xml JKI vi... But I used the default XML functions and can read the average tag. Please find the screenshot of it.

    Thank you and best regards,

    srikrishnaNF

  • Ghost of the data from the XML file

    Hi scripters,.

    I got data ghosts of my XML file by importing.

    In the file XML are 3 times the content of parent 'HALSRIEMEN-GEFL' but I understand not 5 times, I have no idea more and hope someone see the problem.

    My Plan:

    <>products-profdog

    < product >

    < item-id > < / item id >

    < type > < / type >

    < title > < / title >

    < additive > < / addendum >

    < description > < / description >

    < category > < / category >

    > < unit volume < / unit volume >

    < weight > < / weight >

    < match code > < / matchcode >

    < ean number > < / ean-number >

    <>< price-unit / unit price >

    < stock > < / stock >

    < parent > < / parent >

    < active shop > < / active-shop >

    < active catalog > < / active-catalogue >

    < sort > < / sort >

    < / product >

    < product >

    < item-id > < / item id >

    < type > < / type >

    < title > < / title >

    < additive > < / addendum >

    < description > < / description >

    < category > < / category >

    > < unit volume < / unit volume >

    < weight > < / weight >

    < match code > < / matchcode >

    < ean number > < / ean-number >

    <>< price-unit / unit price >

    < stock > < / stock >

    < parent > < / parent >

    < active shop > < / active-shop >

    < active catalog > < / active-catalogue >

    < sort > < / sort >

    < / product >

    < / products-profdog >

    My loop:

    for (i = 0; i < myRootXMLElement.xmlElements.length; i ++) {}

    for (ii = 0; ii < myRootXMLElement.xmlElements.item (i).xmlElements.length; ii ++) {}

    If (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii).markupTag.name == 'parent') {}

    If (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii) .silence == 'HALSRIEMEN-GEFL') {}

    Alert (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii).markupTag.name "->" + myRootXMLElement.xmlElements.item (i).xmlElements.item (ii) .silence);

    }

    }

    }

    }

    I have it.

    There was a bad XML import settings.

    It must be removeUnmatchedExisting = true;

  • Advice on the selection and removal of objects from the background (CS6)

    Hello!

    I know that the title is not so accurate. I used HAVE a 1.1, but not a power user. I know there are a lot of different ways to do the job. And if you know what you are doing you can get this done fast. Especially with a lot of files to process. Here is an example of a vector, with that I need to work. I would like to delete all the objects of "background". Those of grey to white vectors, leaving the main work only. I would use this then make a black mask for the PS, but also be able to place on other files without extranious geometry. I tried to select a variety of gray objects and use of analogues of select variety, but it does generally creaded more work, leaving the empty vectors and points without really everytrhing selection I would like to remove.

    So, is there an easy way to select and delete all the objects (light gray) background to delete? I wish I could this batch because I have a lot of files to clean.

    Here is the file I, if someone wants to take a look (http://www.filehosting.org/file/details/428446/rumble3.ai)

    I do not know there is an effective way to do it.

    Thank you

    In advance!

    Maxi

    rumble3.jpg

    Sorry, I meant the magic wand.

    You can enter a blur value (take the darker gray to select level), and then click a white object. Would maybe work. If yellow objects are captured, you could avoid using the magic wand with zero tolerance.

  • Reading the data from the XML file to the SQL Tables.

    I have XML of this type

    < empdept >
    < employees_marks >
    < emp_id > 1 < / emp_id >
    BUS from < DIVISION_ID > < / DIVISION_ID >
    PRE < JOB_ID > < / JOB_ID >
    SMITH of < first-name > < / name >
    JAMES < LAST_NAME > < / LAST_NAME >
    < > 10000 salary < / salary >
    < / employees_marks >

    < dept >
    < dept_details >
    < deptid > 10 < / deptid >
    < deptname > mechanical < / deptname >
    < / dept_details >
    < dept_details >
    < deptid > 20 < / deptid >
    < deptname > civilian < / deptname >
    < / dept_details >
    < dept_details >
    < deptid > 30 < / deptid >
    < deptname > ICE < / deptname >
    < / dept_details >
    < / dept >
    ((< / empdept > '));

    With the above format am able to recover data successfully to relational tables.


    < employees_marks emp_id = 1 DIVISION_ID = BUS JOB_ID = salary PRE = 10000 / >


    < dept_details deptid = 10 deptname = "Mechanical" / >
    < dept_details deptid = 20 deptname = "ECE" / >
    < dept_details deptid = 30 deptname = "EEE" / >

    that is, I have data as attributes rather than elements, if can I know the way how can I reach the requirement.

    How to recover data when it is present as attributes rather than elements.

    Thank you
    Sunil. N
    with temp as (
      select xmltype('') tempxml from dual
    )
     SELECT extractvalue(tempxml,'/employees_marks/@emp_id') empid,
      extractvalue(tempxml,'/employees_marks/@DIVISION_ID') divid ,
      extractvalue(tempxml,'/employees_marks/@JOB_ID') jobid      ,
      extractvalue(tempxml,'/employees_marks/@salary') sal
       FROM temp
    

    Do you need this?

    Ravi Kumar

  • Create an image slider using the XML file photo gallery

    Hello!

    I have created a photo gallery and generated an xml file.  I want to implement a cursor image on the home page that performs a simple fade from one image to the other.

    I'm not an expert on jQuery. The BC help section says to add code that retrieves in the XML file and THEN add another code query j who would style images and transitions.

    I don't know how to do this.  Here is my code and it does not work.

    If you have a simple solution, it would be great.

    There is a script called JSSOR

    "< script type =" text/javascript"src ="... / js/jquery-1.9.1.min.js "> < / script >"

    <!-use jssor.slider.mini.js (40 KB) instead for immediate release->

    <!-jssor.slider.mini.js = (jssor.js + jssor.slider.js)->

    < script type = "text/javascript" src = "javascripts/jssor.js" > < / script >

    "< script type =" text/javascript"src="javascripts/jssor.slider.js "> < / script >

    This is the beginning of the code BC gives to pull from the xml file into a div called "Gallery".

    < div id = 'Gallery' > < / div >

    < script type = "text/javascript" >

    {$(function()}

    $.ajax({)

    type: 'GET ',.

          url: " http://www.performanceaire.com/Fahrenheit-images/BannerGallery/Photogallery.XML ", / / replace with an absolute URL of the XML of your gallery of .

    data type: "xml."

    success: {function (xml)}

    {$(xml).find('img').each (function ()}

    location var = ' http://www.performanceaire.com/Fahrenheit-Images/BannerGallery/'; / / Replace with the absolute path to the directory that contains your images

    var url = $(this) .attr ('src');

    var alt = $(this) .attr ('alt');

    $('<li></li>').html (' < a href = "' + place +" + url + ' "> < img src ="' + place + "+ url + '" alt = "' + alt + '" / > < / a > ').appendTo('#gallery');

    });

    }

    });

    });

    This is the code taken from JSSOR to transitions occur, and it does not work... any ideas?

    jQuery (document) .ready (function ($) {}

    var options = {}

    $AutoPlay: true, / / [optional] If auto play, to activate the slide show, this option must be set to true, the default value is false

    $DragOrientation: 1 / / orientation [optional] to drag the slide, 0. drag, 1 horizental, 2 3 vertical or, default value is 1 (note that the $DragOrientation must be the same as $PlayOrientation when $DisplayPieces is more than 1, or in the parking position is not 0)

    };

    var jssor_slider1 = new $JssorSlider$ ("Gallery", options);

    });

    < /script >

    www.performanceaire.com/index-FS.html

    It is perhaps a bit much if you do not top:

    Developers

    http://www.BusinessCatalyst.com/BC-blog/BC-next-liquid-rendering-JSON-new-editing-capabili links-increased-performance

  • Load the XML file into Oracle external Table


    I load the data from the XML file into an intermediate table Oracle using external Tables.

    Let's say below, it is my XML file

    < header >
    < A_CNT > 10 < / A_CNT >
    < E_CNT > 10 < / E_CNT >
    < AF_CNT > 10 < / AF_CNT >
    < / header >
    < student >
    <>students-details
    < Student_info >
    < Single_Info >
    < ID > 18 / < ID >
    New York < City > < / City >
    < country > United States < / country >
    < Name_lst >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >
    Aware of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >

    < TerminationDt > 20050812 < / TerminationDt >
    History of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < / Name_lst >
    < Personal_Info >
    <>men < / Type >
    < 27 > < / Age >
    < / Personal_Info >
    < / Single_Info >
    < / Student_info >

    < student - register >
    class < A >
    < info >
    < detail >
    < ID student > 18 < / student >
    EE < major > < / Major >
    < course-Grades >
    < course > VLSI < / course >
    < degree > 3.0 < / Grade >
    < / course-Grades >
    < course-Grades >
    < course > nanotechnology < / course >
    < degree > 4.0 < / Grade >
    < / course-Grades >
    < / details >
    < detail >
    < ID student > 18 < / student >
    THIS < major > < / Major >
    < / details >
    < / info >
    class < A >
    < Student_Enrol >
    <>students-details
    < student >

    I load this XML data file into a single table using an external Table. Could someone help me please with coding.

    Thank you

    Reva

    Could you please help me how to insert my XML content into that.

    Same as before, try a plain old INSERT:

    insert into xml_pecos

    values)

    XmlType (bfilename ('XML_DIR', "test.xml"), nls_charset_id ('AL32UTF8'))

    );

    But you'll probably hit the same limitation as with the binary XMLType table.

    In this case, you can use FTP to load the file as a resource in the XML DB repository.

    If the XML schema has been registered with the hierarchy enabled then the file will be automatically inserted into the table.

    Could you post the exact statement that you used to save the scheme?

    In the meantime, you can also read this article, I did a few years ago, it covers the XML DB features that may be useful here, including details on how to load the file via FTP:

    https://odieweblog.WordPress.com/2011/11/23/Oracle-XML-DB-a-practical-example/

    And documentation of the course: http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb06stt.htm#ADXDB4672

  • How to import the xml file into bcc?

    My input to atg file is xml containing assets of category or products.

    I want the Scheduler to run to auto create a project and send an e-mail to the customer for approval.

    When the client approves the xml file, and then run the Scheduler to get the data from the xml file into bcc.

    I use: SingletonSchedulableService for this

    Give me a direction for the same thing.

    Thanks in advance.

    I want to implement this in bcc.

    What listener will listen to the authorization of the client for email (that contains the XML to import) we sent to him?

    You will need to do a custom development to hang your workflow customized with incoming e-mail. To send notifications by mail electronic action is already there, and while creating his element within the ACC, you can specify a JSP page for the email template. You can view the rest of the relevant documents:

    Oracle, Web ATG Commerce - Workflows

    Oracle, ATG trade Web - action workflow items

    I recommend you to consult the existing source of DeploymentEmailer in \Publishing\samples\Java and see different types of DeploymentEvent and States can be used, based on your requirement in your custom component. See also these API javadocs for the process and the events of deployment available:

    DeploymentEvent (ATG Java API)

    DeploymentServer (ATG Java API)

    ATG has a component/atg/dynamo/service/POP3Service to retrieve messages from a POP3 e-mail server, but it is mainly used to detect the bounced email. Not too sure if it helps or adjustment in your case, but still you can go through all the details to know what is already there:

    Bounced from Oracle ATG Web Commerce - E-mail

    You can also check the event InboundEmail and API javadocs for InboundEmailMessage which are used in this function of rebound detection E-mail:

    Oracle, ATG trade Web - InboundEmail event

    InboundEmailMessage (ATG Java API)

    Now based on all this, if you extend and customize a lot of things, that it would be little complex and tedious detect mail incoming approval based on its content and then advance your workflow. Another approach may be to put a URL in the e-mail template of your notification by e-mail that the approver will click and on the landing page, you can authenticate and advance your workflow to the needs.

  • How do you remove Trojan horse from the Windows\system\svchost.exe file located?

    How do you remove Trojan horse from the Windows\system\svchost.exe file located? I worked on this problem for 5 days. I've tried everything except wipe the hard drive completely and starting over. Windows xp pro sp3

    I bought a new diagnosis program and quarantined the virus once it has been identified. I tried to remove the virus in several ways, but it comes back. The best way that I thought would work enter safe mode and by changing the attributes of the svchost.exe file and then delete and checked the registry AWI hwo to the Web site, but it continues to be problematic.

    Hello

    During the uninstallation of antivirus/antispyware/security programs always check for an uninstall
    tool and/or removal instructions special to avoid leftovers.

    List of tools to clean/uninstall anti-malware programs
    http://answers.Microsoft.com/en-us/protect/Forum/protect_start/list-of-anti-malware-program-cleanupuninstall/407bf6da-C05D-4546-8788-0aa4c25a1f91

    Uninstallers (removal tools) for common antivirus software
    http://KB.eset.com/esetkb/index?page=content&ID=SOLN146
    ------------------------------

    Here's what I use and recommend: (these are all free and very effective versions.)

    Avast and Prevx proved extremely reliable and compatible with all I have
    launched on them. Microsoft Security Essentials and Prevx have also proven to be very
    reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.

    Avast Home free - stop any shields is not necessary except leave the file system, Web,.
    Operational network (Script and behavior are also recommended in Ver 6 +).

    Prevx - Home - free

    Windows Firewall

    Windows Defender (is not necessary if you use MSE)

    Protected IE - mode

    IE 8 - SmartScreen filter WE (IE 7 phishing filter)

    I also IE always start with asset if filter InPrivate IE 8.
    (It may temporarily turn off with the little icon to the left of the + bottom
    right of IE)

    Two versions of Avast are available 6.x and 4.8 x

    Avast - home - free - 6.x stop shields you do not use (except files, Web, network, &)
    Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
    Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
    Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
    disabled - click OK
    http://www.avast.com/free-antivirus-download

    Avast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
    and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
    Finish those you don't use).
    http://www.avast.com/free-antivirus-download#TAB4

    Or use Microsoft Security Essentials - free
    http://www.Microsoft.com/Security_Essentials/

    Prevx works well alongside MSE or Avast

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp?prevx=Y<-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and that
    would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
    (not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
    never find anything of note that I started to use this configuration.
    http://www.Malwarebytes.org/products/malwarebytes_free

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Integrating Javascript functions in the HTML file generated from Adobe Muse

    I have a HTML file, CSS and js files generated by the tool Adobe Muse. Each button is clicked, I want to call a Js function and must do the same. I want to know how to integrate the Javascript code in the HTML file generated from Adobe Muse. My HTML file generated from Adobe Muse is shared below.

    http://pastebin.com/wDrWEmm6

    This will not happen because internal code must be confidence... you can link to a database if you have a server to host it and Adobe BC is the simple solution but none of the 3rd party site hosts will rent you space.

  • Reading data from an XML file with the same parent tag

    We have the XML file that is stored in a CLOB column. We can typecast the CLOB to XML and access to a particular value. We cannot do the same in the case of same parent tag. We read the amount claimed for LABOUR, the FREIGHT_DUTY and MEALS. Can anyone help us.

    SELECT EXTRACTVALUE (XMLTYPE.createXML (CLAIM_SNAPSHOT_STRING),'path / text () ')

    IN ln_hl_labor_hrs_on_job

    OF TAV_DC_031A_CLAIM_AUDIT_XML

    WHERE CLAIM_AUDIT_ID = 3799;

    < paymentComponents class = "dΘfinir" >

    < company.domain.claim.payment.PaymentComponent >

    < id > 30310 / < ID >

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 6 / < ID >

    < version > 1 < / version >

    Meals from < name > < / name >

    < code > < code > MEALS

    < description > meal < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < company.domain.claim.payment.PaymentComponent >

    < id > 30311 / < ID >

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 3 < /ID >

    < version > 1 < / version >

    < name > work < / name >

    < code > < code > WORK

    < description > work < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 217.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < company.domain.claim.payment.PaymentComponent >

    < id > < /ID > 30312

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 5 / < ID >

    < version > 1 < / version >

    < name > point freight and duty < / name >

    < code > < code > FREIGHT_DUTY

    < description > point freight and duty < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < / paymentComponents >

    Kind regards

    Franck Giri

    SQL> with t
      2  as
      3  (
      4  select
      5  xmltype
      6  (
      7  '
      8  
      9  30310
     10  0
     11  
     12  6
     13  1
     14  Meals
     15  MEALS
     16  Meals
     17  
     18  
     19  0.00
     20  
     21  
     22  
     23  
     24  30311
     25  0
     26  
     27  3
     28  1
     29  Labor
     30  LABOR
     31  Labor
     32  
     33  
     34  217.00
     35  
     36  
     37  
     38  
     39  30312
     40  0
     41  
     42  5
     43  1
     44  Item Freight And Duty
     45  FREIGHT_DUTY
     46  Item Freight And Duty
     47  
     48  
     49  0.00
     50  
     51  
     52  
     53  '
     54  ) xml_data
     55    from dual
     56  )
     57  select t1.*
     58    from t
     59       , xmltable
     60         (
     61            '/paymentComponents/company.domain.claim.payment.PaymentComponent' passing t.xml_data
     62            columns
     63              code   varchar2(20) path 'forCategory/code',
     64              amount number       path 'claimedAmount/amount'
     65         ) t1;
    
    CODE                     AMOUNT
    -------------------- ----------
    MEALS                         0
    LABOR                       217
    FREIGHT_DUTY                  0
    
    SQL>
    

Maybe you are looking for