XML Data - Caliculate fields

Hi,
I customizating a Oracle Report which is XML Output.
I am getting a Invoice Description field and it is printing in the XML Output.
I want to create another field/tag in the Output which print some part of the Invoice description as example given below.
Invoice Description from database.
Petty cash payment on 14-04-2009 $NARVA$
Petty cash payment on 13-04-2009 $KUMAT$
XML Output.
Invoice Description               UserName
Petty cash payment on 14-04-2009     NARVA
Petty cash payment on 13-04-2009     KUMAR
Username is shown as separte field in the XML OUTPUT. How to use character functions to extract the Username from Invoice Description
Regards/Prasanth

var xmlInput  clob
begin
:xmlInput :=('<?xml version="1.0" encoding="windows-1256"?>
<XLAAPRPT>
<P_DEFINITION_CODE>AP_200_1</P_DEFINITION_CODE><P_JOURNAL_SOURCE>Payables</P_JOURNAL_SOURCE><P_START_DATE>2009-01-01 00:00:00.0</P_START_DATE><P_AS_OF_DATE>2009-04-30 00:00:00.0</P_AS_OF_DATE><P_THIRD_PARTY_ID>195#$S</P_THIRD_PARTY_ID><P_SHOW_TRX_DETAIL_FLAG>N</P_SHOW_TRX_DETAIL_FLAG><P_INCL_WRITE_OFF_FLAG>N</P_INCL_WRITE_OFF_FLAG><P_COA_ID>50228</P_COA_ID><P_ACCT_BALANCE>YEAR_TO_DATE</P_ACCT_BALANCE><P_SECURITY_FLAG>Y</P_SECURITY_FLAG>
<LIST_G_PARAM>
<G_PARAM>
<REPORT_DEFINITION>Liabilities Payables, Samim Group UAE</REPORT_DEFINITION>
<JOURNAL_SOURCE>Payables</JOURNAL_SOURCE>
<START_DATE>2009-01-01</START_DATE>
<AS_OF_DATE>2009-04-30</AS_OF_DATE>
<THIRD_PARTY_NAME>Soga Glass Co. Ltd.</THIRD_PARTY_NAME>
<SHOW_APPLIED_TRX_DETAIL>No</SHOW_APPLIED_TRX_DETAIL>
<INCLUDE_WRITE_OFF>No</INCLUDE_WRITE_OFF>
<ACCOUNT_FROM/>
<ACCOUNT_TO/>
<ACCOUNT_BALANCE>Year to Date</ACCOUNT_BALANCE>
</G_PARAM>
</LIST_G_PARAM>
<LIST_G_TRANSACTION>
<G_TRANSACTION>
<ACCOUNT>01.000.000.000.000.00.0.33204.000</ACCOUNT>
<GL_BALANCE>-4729148.4</GL_BALANCE>
<CODE_COMBINATION_ID>4159</CODE_COMBINATION_ID>
<BALANCING_SEGMENT_VALUE>01</BALANCING_SEGMENT_VALUE>
<BALANCING_SEGMENT_DESC>ASGT</BALANCING_SEGMENT_DESC>
<NATURAL_ACCOUNT_SEGMENT_VALUE>33204</NATURAL_ACCOUNT_SEGMENT_VALUE>
<NATURAL_ACCOUNT_SEGMENT_DESC>Partners" accounts others</NATURAL_ACCOUNT_SEGMENT_DESC>
<COST_CENTER_SEGMENT_VALUE>000</COST_CENTER_SEGMENT_VALUE>
<COST_CENTER_SEGMENT_DESCR>CNA</COST_CENTER_SEGMENT_DESCR>
<MANAGEMENT_SEGMENT_VALUE/>
<MANAGEMENT_SEGMENT_DESC/>
<INTERCOMPANY_SEGMENT_VALUE/>
<INTERCOMPANY_SEGMENT_DESC/>
<LEDGER_ID>1</LEDGER_ID>
<LEDGER_NAME>Samim Group UAE</LEDGER_NAME>
<LEDGER_SHORT_NAME>SAMIMSOB</LEDGER_SHORT_NAME>
<LEDGER_CURRENCY_CODE>AED</LEDGER_CURRENCY_CODE>
<THIRD_PARTY_NAME>Soga Glass Co. Ltd.</THIRD_PARTY_NAME>
<THIRD_PARTY_NUMBER>195</THIRD_PARTY_NUMBER>
<THIRD_PARTY_TYPE/>
<THIRD_PARTY_TYPE_CODE/>
<THIRD_PARTY_SITE_NAME/>
<SOURCE_ENTITY_ID>2785431</SOURCE_ENTITY_ID>
<SOURCE_TRX_APPLICATION_ID>200</SOURCE_TRX_APPLICATION_ID>
<SOURCE_TRX_APPLICATION_NAME>Payables</SOURCE_TRX_APPLICATION_NAME>
<SOURCE_TRX_TYPE>AP Invoices</SOURCE_TRX_TYPE>
<SOURCE_TRX_NUMBER>F405R</SOURCE_TRX_NUMBER>
<SOURCE_TRX_GL_DATE>2008-06-29</SOURCE_TRX_GL_DATE>
<SOURCE_TRX_CURR>USD</SOURCE_TRX_CURR>
<SRC_ENTERED_UNROUNDED_ORIG_AMT>326.01</SRC_ENTERED_UNROUNDED_ORIG_AMT>
<SRC_ENTERED_UNROUNDED_REM_AMT>-326.01</SRC_ENTERED_UNROUNDED_REM_AMT>
<SRC_ENTERED_ROUNDED_ORIG_AMT>326.01</SRC_ENTERED_ROUNDED_ORIG_AMT>
<SRC_ENTERED_ROUNDED_REM_AMT>-326.01</SRC_ENTERED_ROUNDED_REM_AMT>
<SRC_ACCTD_UNROUNDED_ORIG_AMT>326.01</SRC_ACCTD_UNROUNDED_ORIG_AMT>
<SRC_ACCTD_UNROUNDED_REM_AMT>-326.01</SRC_ACCTD_UNROUNDED_REM_AMT>
<SRC_ACCTD_ROUNDED_ORIG_AMT>326.01</SRC_ACCTD_ROUNDED_ORIG_AMT>
<SRC_ACCTD_ROUNDED_REM_AMT>-326.01</SRC_ACCTD_ROUNDED_REM_AMT>
<USER_TRX_IDENTIFIER_NAME_1>Party Name</USER_TRX_IDENTIFIER_NAME_1>
<USER_TRX_IDENTIFIER_NAME_2>Party Site Name</USER_TRX_IDENTIFIER_NAME_2>
<USER_TRX_IDENTIFIER_NAME_3>Invoice Number</USER_TRX_IDENTIFIER_NAME_3>
<USER_TRX_IDENTIFIER_NAME_4>Invoice Amount</USER_TRX_IDENTIFIER_NAME_4>
<USER_TRX_IDENTIFIER_NAME_5>Due Days</USER_TRX_IDENTIFIER_NAME_5>
<USER_TRX_IDENTIFIER_NAME_6>Invoice Ledger Amount</USER_TRX_IDENTIFIER_NAME_6>
<USER_TRX_IDENTIFIER_NAME_7>Payment Status</USER_TRX_IDENTIFIER_NAME_7>
<USER_TRX_IDENTIFIER_NAME_8>Invoice Date</USER_TRX_IDENTIFIER_NAME_8>
<USER_TRX_IDENTIFIER_NAME_9>Cancelled Date</USER_TRX_IDENTIFIER_NAME_9>
<USER_TRX_IDENTIFIER_NAME_10>Invoice Description</USER_TRX_IDENTIFIER_NAME_10>
<USER_TRX_IDENTIFIER_VALUE_1>Soga Glass Co. Ltd.</USER_TRX_IDENTIFIER_VALUE_1>
<USER_TRX_IDENTIFIER_VALUE_2>CHINA ROYALTIES</USER_TRX_IDENTIFIER_VALUE_2>
<USER_TRX_IDENTIFIER_VALUE_3>F405R</USER_TRX_IDENTIFIER_VALUE_3>
<USER_TRX_IDENTIFIER_VALUE_4>326.01</USER_TRX_IDENTIFIER_VALUE_4>
<USER_TRX_IDENTIFIER_VALUE_5>0</USER_TRX_IDENTIFIER_VALUE_5>
<USER_TRX_IDENTIFIER_VALUE_6/>
<USER_TRX_IDENTIFIER_VALUE_7>Fully Paid</USER_TRX_IDENTIFIER_VALUE_7>
<USER_TRX_IDENTIFIER_VALUE_8>2008-06-29T12:00:00</USER_TRX_IDENTIFIER_VALUE_8>
<USER_TRX_IDENTIFIER_VALUE_9/>
<USER_TRX_IDENTIFIER_VALUE_10>F405R/Royalty $TRADE-SUPPLER$</USER_TRX_IDENTIFIER_VALUE_10>
</G_TRANSACTION>
</LIST_G_TRANSACTION>
</XLAAPRPT>');
end;
drop table XMLInput purge;
create table XMLInput of XMLtype;
insert into XMLInput
values
(xmltype(:xmlInput));
commit;
select extract(value(xi),'/XLAAPRPT/LIST_G_TRANSACTION/G_TRANSACTION/USER_TRX_IDENTIFIER_VALUE_10') as "WANTED"
from xmlInput xi;
select extract(value(xi),'/XLAAPRPT/LIST_G_TRANSACTION/G_TRANSACTION/USER_TRX_IDENTIFIER_VALUE_10/text()') as "WANTED"
from xmlInput xi;
select extractvalue(value(xi),'/XLAAPRPT/LIST_G_TRANSACTION/G_TRANSACTION/USER_TRX_IDENTIFIER_VALUE_10') as "WANTED"
from xmlInput xi;
--   OUTPUT
SQL> @xmlotn.sql
PL/SQL procedure successfully completed.
Table dropped.
Table created.
1 row created.
Commit complete.
WANTED
<USER_TRX_IDENTIFIER_VALUE_10>F405R/Royalty $TRADE-SUPPLER$</USER_TRX_IDENTIFIER_VALUE_10>
1 row selected.
WANTED
F405R/Royalty $TRADE-SUPPLER$
1 row selected.
WANTED
F405R/Royalty $TRADE-SUPPLER$
1 row selected.

Similar Messages

  • Problem with extracting Xml data source fields

    Post Author: new_crystal
    CA Forum: Crystal Reports
    Hi,
    I am creating a report which has a xml data source.
    I have a field named fieldvalue in the xml, I need to present this fieldvalue in a column format based on the name of the column heading which is another field in the database called fielddata
    here is what i want
    fielddata1     fielddata2    fielddata3 .......
    fieldvalue1    fieldvalue2   fieldvalue3......
    i have dragged the fieldvalue 3 times in the report and applied different formula for each one of them
    here is the eg. of the formula
    if ( = "A" ) then
    but it is not giving me the correct values pulled from the data source. for the first column it is pulling correctly but for the rest of the columns it is giving values as 0's.
    Can anyone help me out in this? It is pretty urgent!
    Thanks

    Post Author: tel
    CA Forum: Crystal Reports
    I have no idea how to format it in Crystal Reports (i'm new to it too), but if worse comes to worse, you can create an XSLT stylesheet to convert the XML into a format that is easier for Crystal to use. 
    In case you don't know XSLT is a programming language that is designed to convert one XML format into another.

  • Creating schemas using xml data

    Hi
    I have a situation where I need to create
    database schemas dynamically using <xml> data.
    Any help in this regard will be much appreciated.
    Thanks
    Radheep

    I'm not sure how to write a Web Service, however data can be read from a flat file using XML Data > Load, however the flat file has to be formatted with appropriate XML tags, such as...
    <data>
      <variable name="Test">
        <row><column>1</column><column>2</column></row>
        <row><column>10</column></row>
      </variable>
    </data>
    In addition, you have to write a scriptlet that resides on a web server, with which Xcelsius can communicate. Once your data is formatted, it is as simple as referencing the file location in the XML Data URL: field.
    Web Service is a very popular solution, and probably better than XML Data in this case due to the large volume of data.  If you do a forum search for "Web Service" you'll find many threads regarding its usage.

  • CRM Web Request : Setting XML data

    how to set the XML data (of fields, eg :- input box) in a business transaction that was created through a Web Request. I want to set it through a report.
    Is there any function module for the same ?
    Best Regards,
    Ashish Walke

    Hi,
    You can check with the FM CONVERT_XML_TO_SMOCOND here you can pass your XML and it will return you data in the table again which you can read and pass to the CRMD_ORDER_MAINTAIN which will fill the data into the tables and then again read it by FM CRMD_ORDER_READ to display the data.
    Reward if it helps.
    Thanks and regards
    Sandeep

  • How to Pass XML Data to a PDF Form and Load it into form fields

    I have xml Form data in a string. I would like open a programatically launch a pdf document and pass the xml data as one of the parameters and this xml data needs to load all the form fields.
    Any Idea as to how this can be done?

    I have the same requirement as Daminu, but from the research I have been doing it seems your reply is only partially true. 
    If your PDF is an XFA PDF form, with Reader Extensions enabled, and you want to keep the Reader Extensions functionality for a user to use after your programmatic manipulation, then neither of these tools will work (FDFToolkit or iText).
    Upon the user opening the file once it has been programmatically modified, the user will see the following:
    From what I have read, this requirement can only be fullfilled by use of LiveCycle Reader Extensions Server?  Please confirm?

  • Date time field will not bind over into XML data file

    am using the Current Date field in a form that is supposed to give me the current date & time. In the Object, Value, I am using a "calculated - Read Only" , with Run-time property of Date and Time. WHen I view this as a PDF, the current datae & time display on the form as well as when I view the body pages, the {current date/time} is displayed in the actual field of the form. My only problem is I want to bind this so I can export the data to an XML data file, to import to an Access Database. WHen I use these settings, I do not have a "binding" tab to use. WHen I change vaule to "calculation script), it then pops up the binding tab and let's me export the field to the XML data file, but the data in that field is not comming over (the date & time). The field comes into the database inport, but is blank. What am I doing wrong..?? Thanks in advance for any suggestions...

    Well, I'm assuming that when you change it to a calculation script you see the date in the PDF and therefore have the script to set the value written properly. So, if you change the binding from None to Normal or an explicit binding the date will be exported in the data. If all of that is correct, then the most likely problem is the data format you are exporting is not a format that your database will accept.
    Chris
    Adobe Enterprise Developer Support

  • XML Data in Text Field Issue

    LC ES 8.2.1.3
    I have a web service that outputs XML data and Designer calls the webservice and the XML data populates a text field.  This works fine.
    My problem is getting the data out of the text field to populate different fields in my form.  I have done many searches and have tried many different things but still can't get the data out.  I have made sure my form is dynamic xml.
    Here is the last thing I have tried:
    -------Begin Code -----------
    Placed in testData:Intialize and the connectionSet is placed in Page1:Initialize.
    var myXML = XMLData.parse(xmlData.rawValue, false);
    var subNames = XMLData.applyXPath(myXML, "//Subordinates/Subordinate/full_name");
    if (subNames == null) {
    //no data
    } else if (subNames.length == null) {
      //not array, just a single value
      topmostSubform.Page2.testData.addItem(subName.value);
      } else {
       for (var i = 0; i < subNames.length; i++) {
        topmostSubform.Page2.testData.addItem(subName.item(i).value);
    -------End Code -----------
    I have been working on this for 3 days and still can't get it to work.  The closest I have come is output in my testData text field that said "Object23485968".
    Thank you in advance for your help
    John

    I must be missing something somewhere becuause I couldn't get it to work.  Here is the xml that I am getting back when I invoke the CFC from within Workbench.  This data is assigned to an XML type varialbe called 'xmlOutput'.  I then create a data connection in my form to the service I created in Workbench and bind the return data to a text field (with multiple lines).  When I bind the data I have the option to choose "document" or "element".  Element doesn't return anything, unless I am doing something wrong, so I have to choose Document. 
    With the xmlOutput below I do get more than one subordinate returned.  I only showed one for simplicity.
    ------------Begin xmlOutput --------------  (Yes, I am getting all of these empty lines in my output)
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://livecycle" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <ns1:getSubordinatesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <getSubordinatesReturn xsi:type="xsd:string"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <subordinates>
        <subordinate>
            <cost_center_code>123456</cost_center_code>
            <cost_center_description>Business</cost_center_description>
            <department_code>99</department_code>
            <department_description>Information Technology</department_description>
            <department_head_emp_id>987654</department_head_emp_id>
            <employee_id>456789</employee_id>
            <first_name>John</first_name>
            <full_name>Public, John</full_name>
            <hourly_rate>5.350</hourly_rate>
            <job_code>PMBAPP</job_code>
            <job_title>Business</job_title>
            <last_name>Public</last_name>
            <lives_in_state>AK</lives_in_state>
            <location_code>ANCH</location_code>
            <location_description>Anchorage</location_description>
            <network_user_id>JPublic</network_user_id>
            <pay_group_code>KMH</pay_group_code>
            <rate_type_code>S</rate_type_code>
            <reports_to>789123</reports_to>
            <territory_code/>
            <tier>1</tier>
        </subordinate>
    </subordinates
    ------------End xmlOutput --------------  (Yes, I am getting all of these empty lines in my output)
    I am really at a loss on how to get this data into my form.
    Thanks,
    John

  • Please help. Text fields launch email for XML data

    Let me start by saying I have only been using LiveCycle for two days. I did buy a book and have exhaustuvley searched for a solution....with that said....
    After completing almost the entire form, somehow or other I managed to make all the text fields but one initiate email of xml data as soon as you try to type in them in PDF preview or reader or pro.
    I added a new text field for test and it does NOT do the same thing. I can't for the life of me figure out how to turn this off.
    Issue:
    When checking pdf preview, if I click inside a text field to type, it stops the preview and launches an email window with a blank XML file. It does the same thing if I open the file in Reader or Pro.
    Solution I am looking for:
    My form is nearly complete and i would hate to have to start all over. Basically, I do NOT want the text fields to initiate an email of the form data. I just want the user to be able to type in them as required. In my opinion this should only happen with the "email form" button.
    Thanks,
    Joe
    [email protected]

    funny, i found a workaround. after nearly 3 hours and finally posting here, in 15 minutes i found something. I still would like to know
    what caused this if anyone knows.....
    Fix:
    By selecting the text field and changing object type to "Text" then changing it back to "TextField" then save, it now works fine. Of course I had to do it on all 25 fields but way better than redoing all the custom fields i created.

  • Oracle BI Administration Tool 11g - Fields have the XML data type

    I'm using Oracle BI Administration Tool 11.1.1.3.0 and I need to import Metadata an Oracle table where same fields have the XML data type.
    Please, there is someone can tell me what I must do to define these fields in Administration Tool?
    Regards.

    Hi,
    in u r RPD -->Try to select import Connection Type as : XMLA then give it the URL of u r analysis services 2000 then u can able to import it.
    refer:
    http://www.biblogs.com/2008/02/01/obiee-hybrid-olap-reporting-using-ms-analysis-services-oracle/
    http://www.rittmanmead.com/2007/11/essbase-integration-with-obiee-101331/
    Thanks
    Deva

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • Dynamically populating more than one field using xml data binding

    Hi All,<br /><br />I have the following code that works fine to dynaically populate a<br />second drop-down list2 from a choice in drop-down list1 using xml data<br />biding.<br /><br />var tempString = "xfa.record." + this.boundItem(xfa.event.newText);<br />var oItems = xfa.resolveNode(tempString);<br />var nItemsLength = oItems.nodes.length;<br /><br />myinfo.page1.state.clearItems();<br />myinfo.page1.state.rawValue = null;<br /><br />for (var nItemCount = 0; nItemCount < nItemsLength; nItemCount++)<br />{<br />myinfo.page1.state.addItem(oItems.nodes.item(nItemCount).value);<br />}<br /><br />Here is my xml file<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><myinfo><br /><country/><br /><countries><br /><item uiname="United States" token="US"/><br /><item uiname="South Africa" token="SA"/><br /><item uiname="Australia" token="AU"/><br /></countries><br /><state/><br /><AU><br /><item>Australian Capital Territory</item><br /><item>New South Wales</item><br /><item>Northern Territory</item><br /><item>Queensland</item><br /><item>South Australia</item><br /><item>Tasmania</item><br /><item>Victoria</item><br /><item>Western Australia</item><br /></AU><br /><US><br /><item>California</item><br /><item>New York</item><br /><item>Texas</item><br /><item>Michigan</item><br /><item>North Carolina</item><br /><item>South Carolina</item><br /></US><br /><SA><br /><item>Eastern Cape</item><br /><item>Free State</item><br /><item>Gauteng</item><br /><item>KwaZulu-Natal</item><br /><item>Limpopo</item><br /><item>Mpumalanga</item><br /><item>Northern Cape</item><br /><item>North-West</item><br /><item>Western Cape</item><br /></SA><br /></myinfo><br /><br />I have two questions:<br /><br />1) I want to be able to structure my xml in a way that I can populate<br />a third drop-down list3 from a choice in list2. I need to know how to<br />to include the different capital cities of the states in my xml data<br />so that they can get populated in list3 from a selection in list2;<br /><br />2) And be able to script the third list3 to get dynamically populated<br />from a choice in list2.<br /><br />Thanks in advance for your help.

    I would like to ask someone for help.
    I have an XML file a result of the XSLT transformation. A schema was created based on this XML and this schema is bound to a form as a data source.  When I preview my form using a Preview tab with transformed XML as a Data File in LiveCycle Designer 8.1, I can see only the first form data across 3 Text fields on the form. The rest of the forms are not getting displayed. What am I doing wrong?
    Here is the part of the XML file Im trying to display on the form:
        FORM 1
        FORM 1 DESCRIPTION
        $5000
        FORM 2
        FORM 2 DESCRIPTION
        $7000
        FORM 3
        FORM 3 DESCRIPTION
        $4000
    Part of the schema that was created based on the XML file from above:
    Thank you.

  • Split imported XML data into multiple text fields

    I should first describe my final project because it is very possible that I am going about this entirely wrong!
    I am trying to create an interactive PDF file which is the floor plan of our office, when you mouse over the office spaces it would popup the info for the person in that office, in fact when you click on the office space it would show additional info like computer MAC and jack numbers
    I placed the floor plan as a layer and them created a second layer with no fill/no stroke rectangles over the offices and made them buttons (office01, office02)
    I then made text fields with the info for the people, one for regular info and one for extra info (office01-data, office01-Xdata) I made these text fields buttons as well and had them "hidden until triggered"
    These info fields are all on top of one another, as in the are all the same size and in teh same location
    Then I went to the office buttons and created events "On Roll Over" "Show/Hide Buttons and Forms" and changed the visibility of the corresponding info button.
    This works like a charm!
    I hope I am clear up to this point.... my problem now is I would like to import this data both regular and extra from an excel spreadsheet or an XML file.
    That way when we get new staff or people move offices or whatever I can update the spreadsheet or XML file, rerun my InDesign file and create a new interactive PDF
    I have created the XML file
    <staffMap>
         <staff>
              <name>John Doe</name>
              <computerName<gfth56df</computerName>
              <phoneMAC>00:08:00:AB:CD:EF</phoneMAC>
         </staff>
    <staff>
              <name>John Smith</name>
              <computerName<gfth06cb</computerName>
              <phoneMAC>00:08:00:11:22:33</phoneMAC>
         </staff>
    </staffMap>
    Created a new InDesign document
    Imported the XML and placed it in a text field
    saved as a template and closed it
    Reopen and import the XML data again... and it brings it all into the text field... wonderful and useful but not what I need.
    Is it possible to import the XML data into separate test fields, or into some other separate field that I can make into a button and show/hide?
    I may end up just entering all the data directly into InDesign as I know this will work, it just does not seem like the right way to do it.
    Thanking you all in advance 

    I am still looking to get some help with this.
    I would love to know if it is not possible or any ideas at all

  • Replace the empty field with below data content field in xml pub report

    Hi Gurus,
    Please give me the solution for the Replacement of empty field with below data content field in XML PUBLISHER REPORT.
    ex:
    Name:Philips.M
    Address 1:XP APPTS,
    Address 2:S:R ROAD
    Address 3:
    COUNTRY:INDIA
    Here i have to get only address 1,address 2 and the COUNTRY data.I dont want to display Address 3 field here.
    Thanks,
    David

    I'm not sure if this answers your question but you could try putting out the address all in one item in the SQL eg somthing like:
    address1 || DECODE(address1, NULL, NULL, 'newline character') ||
    address2 || DECODE(address2, NULL, NULL, 'newline character') ||
    address3 || DECODE(address3, NULL, NULL, 'newline character')
    where 'newline character' is somthing like CHR(12)
    Dave

  • Filter XML Data for Text Fields.

    Hi,
    I'm trying to display a single record out of an XML database
    into dynamic fields in my MovieClip. I need to be able return a
    single record based on the current time. Attached is a sample of my
    XML data.
    I was wondering if this could be acheived with a DataSet
    filterFunction? If it is possible, what code would I need to
    include?
    Finally, do I need to pass my full DataSet to an array or do
    I need to filter first & then pass to an array?
    Thankyou.
    Elton Bernardson.

    There's a pattern that almost every wpf dveloper uses and it's called mvvm.
    Google it, there'll be a shed load of articles.
    It's a passive view pattern in that the view has minimal logic in it.
    The view is your window ( or usercontrol).
    You can add a listboxitem to the listbox.items collection but i would only do  that if it's a very simple static collection.
    You can bind a collection to itemssource and the listbox will create a listboxitem for each things it gets from that collection.
    It creates them using a datatemplate.
    When you do that binding apparently directly to a collection a collectionvie is automagically created between control and collection.
    You can explicitly create one of those collectionview things yourself and this is agreat way to filter and sort.
    You can also use one of those collectionviews to navigate the collection setting the current item in the viewmodel.
    That can be synced in the view so you select an item from the viewmodel.
    I think I probably drifted off topic there somewhat.
    Mvvm is probably different from stuff you've done before.
    It's easier to do a bunch of things using mvvm plus it's what any prospective employer will want.
    Along with tdd/bdd it's industry standard.
    Big tip: learn it.
    You want to avoid showing a user a huge load of data. Not so much for performance reasons but because users can only cope with so much data at a time.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Extracting data from a tag of  xml file which is(xml) in a  Field of Csv.

    We have a xlm script which is stored in the clob column of the csv file. we have to extract one value from the <tag> and reject remaining data.
    Sample:-
    <ROW>
    <ID>100</ID>
    <ORDER_DATE>2000.12.20</ORDER_DATE>
    <SHIPTO_NAME>Adrian Howard</SHIPTO_NAME>
    <SHIPTO_STREET>500 Marine World Parkway</SHIPTO_STREET>
    <SHIPTO_CITY>Redwood City</SHIPTO_CITY>
    <SHIPTO_STATE>CA</SHIPTO_STATE>
    <SHIPTO_ZIP>94065</SHIPTO_ZIP>
    </ROW>
    Required Output:-
    We have to extract the "500 Marine World Parkway"
    from tag <SHIPTO_STREET>
    and the above sample xml file is in one of the column which is clob datatype
    Any idea How to perform the above activity in PL/SQL ?

    As BP suggested you can use an XPATH query to extract that information from your XML. However it depends a bit on your XML data.
    Here are two examples:
    one row XML
    select extractvalue(xmltype('<ROW>
    <ID>100</ID>
    <ORDER_DATE>2000.12.20</ORDER_DATE>
    <SHIPTO_NAME>Adrian Howard</SHIPTO_NAME>
    <SHIPTO_STREET>500 Marine World Parkway</SHIPTO_STREET>
    <SHIPTO_CITY>Redwood City</SHIPTO_CITY>
    <SHIPTO_STATE>CA</SHIPTO_STATE>
    <SHIPTO_ZIP>94065</SHIPTO_ZIP>
    </ROW>')
    ,'//SHIPTO_STREET/text()') as result
    from dual;
    RESULT
    500 Marine World Parkway
    multi rows XML
    select extractvalue(column_value,'SHIPTO_STREET/text()') as result
    from table(xmlsequence(extract(xmltype('<ROWS>
    <ROW>
      <ID>100</ID>
      <ORDER_DATE>2000.12.20</ORDER_DATE>
      <SHIPTO_NAME>Adrian Howard</SHIPTO_NAME>
      <SHIPTO_STREET>500 Marine World Parkway</SHIPTO_STREET>
      <SHIPTO_CITY>Redwood City</SHIPTO_CITY>
      <SHIPTO_STATE>CA</SHIPTO_STATE>
      <SHIPTO_ZIP>94065</SHIPTO_ZIP>
    </ROW>
    <ROW>
      <ID>200</ID>
      <ORDER_DATE>2000.12.20</ORDER_DATE>
      <SHIPTO_NAME>Adrian Howard</SHIPTO_NAME>
      <SHIPTO_STREET>Test</SHIPTO_STREET>
      <SHIPTO_CITY>Redwood City</SHIPTO_CITY>
      <SHIPTO_STATE>CA</SHIPTO_STATE>
      <SHIPTO_ZIP>94065</SHIPTO_ZIP>
    </ROW>
    </ROWS>'
    ),'ROWS/ROW/SHIPTO_STREET')));
    RESULT
    500 Marine World Parkway
    Test

Maybe you are looking for

  • Can I share my iPhoto book?

    I created an Iphoto book for my twins' 12th birthday and ordered copies for each; however, my parents and other family members may want to view or order copies. . Any way I can share it with them on-line?

  • How I fixed lost airtunes and lost shared library

    It happened to me over and over again. Sometimes it helped to restart AirPort Express, sometimes it didn't. Sometimes it helped to remove the preferences of iTunes, sometimes it didn't. What helped me this time (and this was the fastest solution so f

  • Query panel between operator issue

    Hi, I'm using Jdeveloper 11.1.2.3.0. I have a view criteria with Equal to operator for employee id, selected Show Operator as always. Dropped it as a Query Panel with Table on a jsf page. On the query panel, selected operator as Between. When i enter

  • Contact Related Information layout (on Opportunity page)

    Hi! I would like to customize the Contact Related Information layout from the Opportunity page. I would like to be able to add the Contact Phone Number within that section, but, as you can see in the attached screenshot, the only fields available in

  • Problem with product catalog dissappearance in R3 webshop

    Hello, I have created a Product catalog layout in R3 system,but when i try to view the same in the webshop some part of the layout has disappeared,the layout structure can be seen but not the layout area name and also the products added to that area