Evaluating XML data for comparison

Does anyone know if it is possible to evaluate an xml node to see if it holds a specific value, and if so how?
I am trying to do something like this...
Set myChild = myRoot.evaluateXPathExpression("//collections/page/pnum")
if myChild(1) = 1 THEN
     [do something]
Else
     [do something else]
End if
I keep getting  a "Object does not support this property or method" error on the first line of the if statement.
If I placeXML into a text frame I can get the value of myChild(1), so I know the XPath is correct and there is something there, I just can't figure out how to use it.
That particular node should hold the value of 1.
I am using VB and CS5.5, but javascript answers/ examples are fine.
thanks

I got it figured out.  If anyone else cares to know, it goes like this...
if myChild(1).contents = 1 THEN

Similar Messages

  • Filter XML Data for ListBox

     This is the continuation of "Filter ListBox w/ XML Data using a TextBox"
    Andy, I read your paper last night. You are so high that I can only understand some of it right now, but you do bring up a performance issue, which needs to be considered for this thread.
    Is myListBox.Items a view or the items that have already loaded into the myListBox? I am confused. If myListBox.Items are the items that are currently in the myListBox, then there will be an performance issue if there are a huge amount of items in the myListBox.
    Am I right?
    Then, the process supposed to be:
    1, add XML source to Blend
    2, filter the source
    3, put in the listbox
    Then the code will be much complicated than the 1st one. right?
    private void filterBtn_Click(object sender, RoutedEventArgs e)
          myListBox.Items.Filter = target => ((XmlElement)target)["ID"].InnerText.Contains(myTextBox.Text);

    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

  • Problems handling xml data for tree control.

    Hi,
    I have tried using tree control for displaying my xml data
    but I had a problem that i did not have labels in my xml data. A
    sample xml data is attached. So it displays the whole data at each
    level in the tree. The root label will be the entire the xml data
    and then one level down the remaining xml data and so on...
    How do i solve this issue i,e get the tags names itself as
    labels..
    Thanks in advance....

    An update after some efforts..
    Could get the folders perfectly i.e until the level of
    CPUTime perfectly but could not get the leaf: 32 since i used the
    following to set the label.
    I would like to know if there is a way to find out if a node
    is a leaf or folder and according set the label

  • 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

  • Query XML data for blanks

    Hi 
    I am try to see if there are any blanks in a node of a table that has xml data in one of the columns. The query I use is returning zero results. Any suggestions?
    Select COUNT(*)from ENTITY
    Where CONVERT(XML, Ent_root_xml, 0 ).value('(//UD_PQ_FLAG/node())[1]', 'VARCHAR(50)')= ' '

    This is a little tricky. When you don't use /text(), looking for space is the right thing. But when you use /text() you should look for NULL:
    DECLARE @x TABLE (id int NOT NULL, x xml NOT NULL)
    INSERT @x (id, x)
       VALUES (1, '<ROOT><Node>This node is intentionally not left blank.</Node></ROOT>'),
              (2, '<ROOT><Node></Node></ROOT>')
    SELECT id
    FROM   @x
    CROSS  APPLY x.nodes('/ROOT') AS T(x)
    WHERE  T.x.value('(Node/text())[1]', 'varchar(23)') IS NULL
    SELECT id
    FROM   @x
    CROSS  APPLY x.nodes('/ROOT') AS T(x)
    WHERE  T.x.value('Node[1]', 'varchar(23)') = ' '
    Erland Sommarskog, SQL Server MVP, [email protected]

  • External XML data for plot chart

    Hi,
    Can you provide the XML equivalent & the corresponding changes to be done in the below plot chart code :
    <?xml version="1.0"?>
    <!-- charts/BasicPlot.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script><![CDATA[
         import mx.collections.ArrayCollection;
         [Bindable]
         public var expenses:ArrayCollection = new ArrayCollection([
            {Month:"January", Profit:2000, Expenses:1500, Amount:450},
            {Month:"February", Profit:1000, Expenses:200, Amount:600},
            {Month:"March", Profit:1500, Expenses:500, Amount:300},
            {Month:"April", Profit:500, Expenses:300, Amount:500},
            {Month:"May", Profit:1000, Expenses:450, Amount:250},
            {Month:"June", Profit:2000, Expenses:500, Amount:700}
      ]]></mx:Script>
      <mx:Panel title="Plot Chart">
         <mx:PlotChart id="myChart" dataProvider="{expenses}"
         showDataTips="true">
            <mx:series>
               <mx:PlotSeries
                    xField="Expenses"
                    yField="Profit"
                    displayName="Plot 1"
               />
               <mx:PlotSeries
                    xField="Amount"
                    yField="Expenses"
                    displayName="Plot 2"
               />
               <mx:PlotSeries
                    xField="Profit"
                    yField="Amount"
                    displayName="Plot 3"
               />
            </mx:series>
         </mx:PlotChart>
         <mx:Legend dataProvider="{myChart}"/>
      </mx:Panel>
    </mx:Application>

    This does what you want.
    If this post answers your question or helps, please mark it as such.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      <mx:Script>
        <![CDATA[
          import mx.collections.XMLListCollection;
          [Bindable] public var expenses:XMLListCollection;
          private function init():void{
            expenses = new XMLListCollection(XMLList(xml..dataItem));
          private var xml:XML =
            <data>
              <dataItem>
                <Month>January</Month>
                <Profit>2000</Profit>
                <Expenses>1500</Expenses>
                <Amount>450</Amount>
              </dataItem>
              <dataItem>
                <Month>February</Month>
                <Profit>1000</Profit>
                <Expenses>200</Expenses>
                <Amount>600</Amount>
              </dataItem>
              <dataItem>
                <Month>March</Month>
                <Profit>1500</Profit>
                <Expenses>500</Expenses>
                <Amount>300</Amount>
              </dataItem>
              <dataItem>
                <Month>April</Month>
                <Profit>500</Profit>
                <Expenses>300</Expenses>
                <Amount>500</Amount>
              </dataItem>
              <dataItem>
                <Month>May</Month>
                <Profit>1000</Profit>
                <Expenses>450</Expenses>
                <Amount>250</Amount>
              </dataItem>
              <dataItem>
                <Month>June</Month>
                <Profit>2000</Profit>
                <Expenses>500</Expenses>
                <Amount>700</Amount>
              </dataItem>
            </data>;
      ]]></mx:Script>
      <mx:Panel title="Plot Chart">
         <mx:PlotChart id="myChart" dataProvider="{expenses}"
         showDataTips="true">
            <mx:series>
               <mx:PlotSeries
                    xField="Expenses"
                    yField="Profit"
                    displayName="Plot 1"
               />
               <mx:PlotSeries
                    xField="Amount"
                    yField="Expenses"
                    displayName="Plot 2"
               />
               <mx:PlotSeries
                    xField="Profit"
                    yField="Amount"
                    displayName="Plot 3"
               />
            </mx:series>
         </mx:PlotChart>
         <mx:Legend dataProvider="{myChart}"/>
      </mx:Panel>
    </mx:Application>

  • Preformatted RTF string in XML data for BI Publisher merge

    Hi
    I have been presented to the question: Can we send a preformatted RTF text as one of the input fields in XML stream to BI Publisher (mail)merge?
    We're using the MS Word plugin to create a RTF template. Effectively we want to merge RTF text using RTF template.
    I cannot find any documentation stating that it is supported. My tests locally in the MS Word plugin are'nt exactly sucessfull, but there is a number of possible reasons for that.. :-)
    Does anybody know explicitly if it is supported (or not)?
    Regards
    /John

    Hi..
    Obviously the buffer size need to be extend...also its look like you are customizing the report ..so it would be better if you check for data redundancy once.
    you have to increase the size of buffer ....and then let it completly open the xml output file...till its done and then save it and use for preview.
    You have to ask your dba to increase the buffer ...or from sysadmin --->conc manager--->output post processing ...check for the manager and increase the buffer size as well.
    Thanks
    Ratnesh

  • XML data for Spry Menu ?

    I maintain several web sites with static pages that all carry
    a common Spry menu bar hard coded into each page via a template.
    How can I use an XML file to feed a Spry menu widget to save
    uploading all the pages every time there is a change on the site
    that requires the menu to be updated?
    I've searched the web and help files for an answer to this
    without success, so any help or pointers would be most appreciated.

    I made this example that uses a xml file to build the spry
    menu, the page is html, you need to make a seperate dataset for
    each <ul> tag, or item group in the menu, notice the two
    datasets in my sample, you could expand and make as many as you
    want, all drawn from xml files. check out the page here:
    http://gohbcc.com/examples/menutest.html
    html page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <script src="SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css"
    rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.XMLDataSet("s.xml", "links/link");
    var ds2 = new Spry.Data.XMLDataSet("t.xml", "links/link");
    //-->
    </script>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a class="MenuBarItemSubmenu" href="#">Item
    1</a>
    <ul>
    <div spry:region="ds1">
    <li spry:repeat="ds1">
    <a href="{a/@href}">{a}</a>
    </li>
    </div>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    </li>
    <li><a href="#">Item 2</a></li>
    <li><a class="MenuBarItemSubmenu" href="#">Item
    3</a>
    <ul>
    <div spry:region="ds2">
    <li spry:repeat="ds2">
    <a href="{a/@href}">{a}</a>
    </li>
    </div>
    <li><a href="#">Item 3.2</a></li>
    <li><a href="#">Item 3.3</a></li>
    </ul>
    </li>
    <li><a href="#">Item 4</a></li>
    </ul>
    <p> </p>
    <div spry:region="ds1" style="float:right;">
    <table>
    <tr>
    <th>A</th>
    <th>A/@href</th>
    </tr>
    <tr spry:repeat="ds1">
    <td>{a}</td>
    <td>{a/@href}</td>
    </tr>
    </table>
    </div>
    <p> </p>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    XML Files
    t.xml;
    <?xml version="1.0" encoding="utf-8"?>
    <links>
    <link><a
    href='customer_enter.php?method=Fname'>First
    Name</a></link>
    <link><a
    href='customer_enter.php?method=caseNum'>Case
    Number</a></link>
    <link><a
    href='customer_enter.php?method=Lname'>Last
    Name</a></link>
    <link><a
    href='customer_enter.php?method=caseWorker'>Case
    Worker</a></link>
    </links>
    s.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <links>
    <link><a href='customer_find.php?method=name'>By
    Name</a></link>
    <link><a
    href='customer_find.php?method=caseNum'>By Case
    Number</a></link>
    <link><a href='customer_find.php?method=date'>By
    Date</a></link>
    <link><a
    href='customer_find.php?method=itemNum'>By Item
    Number</a></link>
    </links>

  • Custom Map in flash using XML data for dynamic map and point of intrest loading...

    Been some time since I have used Flash for anything...
    I'm working on a little project to dynamically build a map
    and set points of interest on the map. At this time I have the
    (mySQL) data being queried and formatted with PHP and pushing the
    data to Flash as XML.
    In starting the project I'm a bit lost... I mean I have my
    data and a good XML format but as it is I'm lost on parsing the
    data in Flash and assigning its values to movie clips or other...
    I've looked at the Loader Component and the XML Connector
    Component and find I can get that to work at all...
    My second though was to create a single movie clip on stage
    and give it an instance name of "Background" and have it load the
    URL of an image given in the attached XML doc... Node "a_zone" and
    the value given to attribute "image"... But this brings me back to
    square one of not quite understanding Flash and parsing XML... With
    this second idea I would use AS to create a movie clip, set it's X
    & Y cords and load an image to it based on the XML attributes
    listed in the "Gatherable" node (one for each node).
    Any suggestions, examples or related info is welcome...
    Thanks in advance!

    Okay, that really wasn't what I was looking for... But I did
    go back and RTM :-)
    Here's what I have... 1st frame:
    2nd Layer: movieclip with the instance name "currentPicture"
    The image loads into "currentPicture" from the URL given in
    the XML "a_zone" node attribute "image" just fine....
    But I'm not able to grab the attributes of each "Gatherable"
    node it seems... am I missing something or just not pointing to the
    right node?
    I keep getting:
    undefined
    undefined
    undefined
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
    Error opening URL
    "file:///C|/apache2triad/htdocs/gatherer/flash/undefined"

  • External XML data for more charts in a single page

    I am using a plot chart which gets data from an external XML file through <mx:HTTPService>
    I create another chart in the same page which also gets data from another XML file.
    How can i provide data to this chart through the HTTP Service ?
    - Sen

    I hope i've understood well what you want to do.
    Easily you could define 2 different httpservice with different url and bind them to chart.
    hope this help!
    bye!

  • How to automatically update xml data for xml connector

    I suspect the answer to this is simple because I am a real novice when it comes to ActionScript.
    I have a project with an XML Connector that goes out and gets data from an xml file and displays it in a label in my flash.
    It does this when the swf file loads using ActionScript in frame 1.
    The ActionScript is simply:
    this.labels_xc.trigger();
    This is great. It loads the data from the XML file no problem.  But the data in the XML file changes every so often.  How do I get the swf file to go out and get the new data on a regular interval (say every 2 minutes or so)?  I've looked at scripts with timers and I can't figure it out.
    Here is the url to the page I'm testing it on:
    http://www.timescapemedia.com/uptake/text.html

    My lack of experience here is showing.
    I tried putting the following, but neither work.
    this.labels_xc.trigger();
    setInterval(f, 30000);
    function f() {
    this.labels_xc.trigger();
    and
    this.labels_xc.trigger();
    setInterval(f, 30000);
    function f( ) {
    this.labels_xc.trigger();
    Obviously I'm not putting this together correctly.
    I appreciate your patience and help.

  • Use of java.uti.Date for comparison

    Hi Friends
    I am stuck in a problem for which i need help from you.
    I have written code to convert a date object into a calander object for a functionality in my application.
    I am getting the output in the following format after conversion
    Thu May 31 00:00:00 IST 2007
    Wed Jun 13 00:00:00 IST 2007
    Now inside other method i reconvert the calendar object back to Date objects.the code is as below.
    Date start=filterStartDate.getTime();
    Date end=filterEndDate.getTime();
    Now i need to compare the 2 Date objects here and check whether the startdate is less than enddate.
    the date objects are again in the same format after conversion
    Thu May 31 00:00:00 IST 2007
    Wed Jun 13 00:00:00 IST 2007
    Can anybody let me know how to do this conversion.If possible provide me piece of code to do it.
    waiting for a positive reply from you side.
    Regards
    Vikeng

    Resolved

  • How to send large amount of XML data in one CLOB variable

    Hi,
    I am sending large amount of XML data to TCP/IP port in one CLOB variable.
    My requirement is to send the whole data in one go in one CLOB variable.
    But that CLOB variable is not sufficient to hold all the data.
    Please suggest some solution.
    Thanks in advance

    Hi Here is my code:
    CREATE OR REPLACE PACKAGE BODY APPS.XXMB_WIP_PROD_TAG_DOOR_PKG
    AS
    PROCEDURE xxmb_get_xml_data_1270 (
    -- errbuf OUT VARCHAR2,
    -- retcode OUT NUMBER,
    p_org IN VARCHAR2,
    p_limit_to_global IN VARCHAR2,
    p_label IN VARCHAR2,
    p_printer IN VARCHAR2,
    p_quantity IN VARCHAR2,
    p_print_method IN VARCHAR2,
    p_enable_release IN VARCHAR2,
    p_enable_serial_no IN VARCHAR2,
    p_release IN VARCHAR2,
    p_rep_group IN VARCHAR2,
    p_cart_type IN VARCHAR2,
    p_cart_no_from IN VARCHAR2,
    p_cart_no_to IN VARCHAR2,
    p_serial_no IN VARCHAR2
    AS
    CURSOR c_xml_data_door (
    p_org IN VARCHAR2,
    p_label IN VARCHAR2,
    p_printer IN VARCHAR2,
    p_quantity IN VARCHAR2,
    p_print_method IN VARCHAR2,
    p_rep_group IN VARCHAR2,
    p_release IN VARCHAR2,
    p_cart_type IN VARCHAR2,
    p_cart_no_from IN VARCHAR2,
    p_cart_no_to IN VARCHAR2,
    p_serial_no IN VARCHAR2
    IS
    SELECT xxasa.item_id AS item_id, xcs.serial_number AS serial_number,xxcpf.cart_type,xcs.destination_cart_num cart,xcs.destination_slot_num slot
    CURSOR c_product_detail (
    l_product IN NUMBER,
    l_serial_num IN VARCHAR2,
    p_limit_to_global IN VARCHAR2
    IS
    SELECT xcra_specie.reference_id AS reference_id,
    xcra_ege.attribute_value AS ege, xcs.item_id AS item_id,
    AND msib.inventory_item_id = l_product
    and xcs.organization_id = nvl(p_org, xcs.organization_id)
    AND xcs.serial_number = NVL (l_serial_num, xcs.serial_number);
    /*-------------------------------------------------------+
    | Cursor to fetch the data for special Message Label |
    +-------------------------------------------------------*/
    CURSOR c_count (p_item_id IN NUMBER)
    IS
    SELECT xcrav.attribute_value, xcs.serial_number, xcs.cabinet_number
    FROM xxmb_czmfg_ref_attributes xcrav,
    cz_config_attributes cca,
    AND msib.organization_id = xcs.organization_id
    AND msib.inventory_item_id = xcs.item_id;
    /*--------------------------+
    | Common variables |
    +--------------------------*/
    v_limit_to_global VARCHAR2 (100);
    l_label_count NUMBER := 1;
    total_rec NUMBER;
    l_rewrite VARCHAR2 (1) := 'N';
    l_file_count NUMBER := 1;
    l_separate_line VARCHAR2 (10);
    BEGIN
    fnd_profile.get ('WMS_LABEL_OUTPUT_DIRECTORY', l_output_dir);
    fnd_profile.get ('WMS_LABEL_FILE_PREFIX', l_output_file_prefix);
    l_request_id := apps.fnd_global.conc_request_id;
    l_output_file_name :=
    l_output_file_prefix || l_request_id || l_file_end;
    l_dir_seperator := '/';
    IF (INSTR (l_output_dir, l_dir_seperator) = 0)
    THEN
    l_dir_seperator := '\';
    END IF;
    v_label := p_label;
    v_printer := p_printer;
    v_quantity := p_quantity;
    V_LIMIT_TO_GLOBAL := P_LIMIT_TO_GLOBAL;
    L_XML_CONTENT := '<?xml version="1.0" encoding="UTF-8" ?>';
    L_XML_CONTENT := L_XML_CONTENT || '<!DOCTYPE labels SYSTEM "label.dtd">';
    L_XML_CONTENT := L_XML_CONTENT || '<labels>';
    FOR r_xml_data_door IN c_xml_data_door (p_org,
    p_label,
    p_printer,
    p_quantity,
    p_print_method,
    p_rep_group,
    p_release,
    p_cart_type,
    p_cart_no_from,
    p_cart_no_to,
    p_serial_no
    LOOP
    -- dbms_output.put_line ( 1 );
    FOR r_product_detail IN
    c_product_detail (r_xml_data_door.item_id,
    r_xml_data_door.serial_number,
    v_limit_to_global
    LOOP
    -- dbms_output.put_line ( 2 );
    -- l_xml_content := '<?xml version="1.0" encoding="UTF-8" ?>';
    -- l_xml_content := l_xml_content || '<!DOCTYPE labels SYSTEM "label.dtd">';
    -- l_xml_content := l_xml_content || '<labels>';
    fnd_file.put_line (fnd_file.LOG, 'label cnt: ' || l_label_count);
    dbms_output.put_line (l_label_count);
    L_XML_CONTENT := L_XML_CONTENT || '<label _FORMAT='
    || '"'
    || 'lib://FRD/'
    || v_label
    || '"'
    || ' _PRINTERNAME='
    || '"'
    || v_printer
    || '"'
    || ' _QUANTITY='
    || '"'
    || v_quantity
    || '"'
    || '>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Color">'
    || R_PRODUCT_DETAIL.COLOR
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT ||'<variable name= "Model">'
    || R_PRODUCT_DETAIL.model
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Build_Date">'
    || R_PRODUCT_DETAIL.BUILD_DATE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Assy_Cart">'
    || R_PRODUCT_DETAIL.ASSY_CART
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Assy_Slot">'
    || R_PRODUCT_DETAIL.ASSY_SLOT
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Assy_Line">'
    || R_PRODUCT_DETAIL.ASSY_LINE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Finish_Cart">'
    || R_PRODUCT_DETAIL.FINISH_CART
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Finish_Slot">'
    || R_PRODUCT_DETAIL.FINISH_SLOT
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Serial_Number">'
    || R_PRODUCT_DETAIL.SERIAL_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Serial_Number_Barcode">'
    || R_PRODUCT_DETAIL.SERIAL_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Specie">'
    || R_PRODUCT_DETAIL.SPECIE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT ||'<variable name= "Truck_Group">'
    || R_PRODUCT_DETAIL.TRUCK_GROUP
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Label_Sequence_No">'
    || L_LABEL_COUNT
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT ||'<variable name= "WIP_Cart">'
    || R_PRODUCT_DETAIL.WIP_CART
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "WIP_Slot">'
    || R_PRODUCT_DETAIL.WIP_SLOT
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Cabinet_Sequence_No">'
    || R_PRODUCT_DETAIL.CAB_SEQ_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "RAW_PART_NO">'
    || R_PRODUCT_DETAIL.RAW_PART_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "JC">'
    || R_PRODUCT_DETAIL.JC
    || '</variable>' ;
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "QC">'
    || R_PRODUCT_DETAIL.QC
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Thickness">'
    || R_PRODUCT_DETAIL.THICKNESS
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Width">'
    || R_PRODUCT_DETAIL.width
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Length">'
    || R_PRODUCT_DETAIL.length
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Overlay">'
    || R_PRODUCT_DETAIL.OVERLAY
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Options">'
    || R_PRODUCT_DETAIL.OPTIONS
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Stop">'
    || R_PRODUCT_DETAIL.stop
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Profile_No">'
    || R_PRODUCT_DETAIL.PROFILE_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Door_Style">'
    || R_PRODUCT_DETAIL.DOOR_STYLE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Glaze">'
    || R_PRODUCT_DETAIL.GLAZE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Shape">'
    || R_PRODUCT_DETAIL.SHAPE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Glass">'
    || R_PRODUCT_DETAIL.GLASS
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Hinge_Side">'
    || R_PRODUCT_DETAIL.HINGE_SIDE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Hinge_Type">'
    || R_PRODUCT_DETAIL.HINGE_TYPE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "EGE">'
    || R_PRODUCT_DETAIL.EGE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Door_Style_Code">'
    || R_PRODUCT_DETAIL.DOOR_STYLE_CODE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Finish_Technique">'
    || R_PRODUCT_DETAIL.FINISH_TECHNIQUE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Hinge_Location">'
    || R_PRODUCT_DETAIL.HINGE_LOCATION
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Construction_Type">'
    || R_PRODUCT_DETAIL.CONSTRUCTION_TYPE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_Type">'
    || R_PRODUCT_DETAIL.PANEL_TYPE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_Profile_No">'
    || R_PRODUCT_DETAIL.PANEL_PROFILE_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Rail_Profile_No">'
    || R_PRODUCT_DETAIL.RAIL_PROFILE_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Rail_1_Length">'
    || R_PRODUCT_DETAIL.RAIL_1_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Stile_Profile_No">'
    || R_PRODUCT_DETAIL.STILE_PROFILE_NO
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Rail_2_Length">'
    || R_PRODUCT_DETAIL.RAIL_2_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Stile_1_Length">'
    || R_PRODUCT_DETAIL.STILE_1_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Stile_2_Length">'
    || R_PRODUCT_DETAIL.STILE_2_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_1_Width">'
    || R_PRODUCT_DETAIL.PANEL_1_WIDTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_1_Length">'
    || R_PRODUCT_DETAIL.PANEL_1_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_2_Width">'
    || R_PRODUCT_DETAIL.PANEL_2_WIDTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Panel_2_Length">'
    || R_PRODUCT_DETAIL.PANEL_2_LENGTH
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT ||'</label>';
    /*-----------------------------------------+
    | Handling XML data for special message |
    +-----------------------------------------*/
    FOR rec_count IN c_count (r_product_detail.item_id)
    LOOP
    L_XML_CONTENT := L_XML_CONTENT || '<label _FORMAT='
    || '"'
    || 'lib://FRD/SpecMessage_Door.btw'
    || '"'
    || ' _PRINTERNAME='
    || '"'
    || v_printer
    || '"'
    || ' _QUANTITY='
    || '"'
    || v_quantity
    || '"'
    || '>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Serial_Number">'
    || REC_COUNT.SERIAL_NUMBER
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Special_Message">'
    || REC_COUNT.ATTRIBUTE_VALUE
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT || '<variable name= "Cabinet_Sequence_No">'
    || REC_COUNT.CABINET_NUMBER
    || '</variable>';
    L_XML_CONTENT := L_XML_CONTENT ||'</label>';
    EXIT WHEN c_count%NOTFOUND;
    end LOOP;
    -- L_XML_CONTENT := L_XML_CONTENT || '</labels>';
    fnd_file.put_line (fnd_file.LOG, l_xml_content);
    dbms_output.put_line ( l_xml_content );
    L_LABEL_COUNT := L_LABEL_COUNT + 1;
    -- apps.inv_print_request.sync_print_tcpip (l_xml_content,
    -- l_job_status,
    -- l_printer_status,
    -- l_status_type,
    -- l_return_status,
    -- l_return_msg
    END LOOP;
    END LOOP;
    l_xml_content := l_xml_content || '</labels>';
    fnd_file.put_line (fnd_file.LOG, l_xml_content);
    apps.inv_print_request.sync_print_tcpip (l_xml_content,
    l_job_status,
    l_printer_status,
    l_status_type,
    l_return_status,
    l_return_msg
    L_XML_CONTENT := null;
    /*--------------------------------------------------------------------------------------+
    | APPS.INV_PRINT_REQUEST.SYNC_PRINT_TCPIP will send the XML data to TCP/IP Port |
    +--------------------------------------------------------------------------------------*/
    fnd_file.put_line (fnd_file.LOG,
    'Printer Status:' || ' ' || l_printer_status
    fnd_file.put_line (fnd_file.LOG,
    'Return Status:' || ' ' || l_return_status
    fnd_file.put_line (fnd_file.LOG,
    'Return Message:' || ' ' || L_RETURN_MSG
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line
    (fnd_file.LOG,
    'Unexpected error in the xxmb_get_xml_data_1270 procedure, error is : '
    || SQLERRM
    || ', '
    || SQLCODE
    END xxmb_get_xml_data_1270;
    END xxmb_wip_prod_tag_door_pkg;
    /

  • PDF Report from XML Data

    Hi,
    I'm working on one BI report for which XML data has been provided.This report needs to get AP check details (XML Data) and print them on checks
    Based on xml data I'm trying to create RTF layout from BI desktop MS word add in
    I'm loading xml data using insert field option pulling all required fields into RTF layout.
    Here I faced Few issues,
    1) in xml data I've more than one column with the same name for ex :
    <Name> 23 </Name>
    <Value>35</Value>
    again I'm having another column with the same name.Though I'm pulling required column it's showing different value
    2) Another issue is I'm pulling values under particular node it's not displaying right value
    3)How to create group or repeating groups based on XML data for ex: checks needed to be printed based on supplier no or check no how to set group by for this ?
    4) Right now my layout displays only one record eventhough more than one record is there in xml data?.
    Thanks,
    Kiran

    Here's sample XML Data
    Based on this data I need to develop RTF Template :
    - <OutboundPaymentInstruction>
    - <PaymentInstructionInfo>
    <InstructionReferenceNumber>11111</InstructionReferenceNumber>
    <FormatProgramRequestID>23456789</FormatProgramRequestID>
    <InstructionCreationDate>2012-04-23T13:41:07</InstructionCreationDate>
    - <MultiOrgAccessControl>
    <HasBlockedData>N</HasBlockedData>
    </MultiOrgAccessControl>
    - <InstructionStatus>
    <Code>CREATED_READY_FOR_FORMATTING</Code>
    <Meaning>Created - Ready for Formatting</Meaning>
    </InstructionStatus>
    <ProcessingType>PRINTED</ProcessingType>
    <ProcessType>STANDARD</ProcessType>
    <UserAssignedRefCode>APR23</UserAssignedRefCode>
    <BankAssignedRefCode />
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    - <BankInstruction>
    <BankInstructionCode />
    <Meaning />
    <FormatValue />
    </BankInstruction>
    - <BankInstruction>
    <BankInstructionCode />
    <Meaning />
    <FormatValue />
    </BankInstruction>
    <BankInstructionDetails />
    <PaymentTextMessage />
    <PaymentTextMessage />
    <RegulatoryReportingOption>NO_DECLARATIONS</RegulatoryReportingOption>
    <CardIssuerFileSequenceNo />
    - <PaymentSystemAccount>
    <AccountName />
    </PaymentSystemAccount>
    <Notes />
    </PaymentInstructionInfo>
    - <PaymentProcessProfile>
    <PaymentProcessProfileInternalID>112</PaymentProcessProfileInternalID>
    <PaymentProcessProfileName>ABC Check Payment</PaymentProcessProfileName>
    <LogicalGroupingMode />
    <BatchBookingFlag />
    </PaymentProcessProfile>
    - <PaymentFormat>
    <PaymentFormatInternalID>IBY_PAY_EFT</PaymentFormatInternalID>
    <PaymentFormatName>1/2 Inch Tape Format</PaymentFormatName>
    </PaymentFormat>
    - <CheckFormatInfo>
    <PaymentDocumentName>001_Check</PaymentDocumentName>
    - <PaperStockType>
    <Code>PRENUMBERED</Code>
    <Meaning>Prenumbered Stock</Meaning>
    </PaperStockType>
    </CheckFormatInfo>
    - <InstructionTotals>
    <PaymentCount>1</PaymentCount>
    - <TotalPaymentAmount>
    <Value>35</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </TotalPaymentAmount>
    </InstructionTotals>
    - <InstructionGrouping>
    - <PaymentCurrency>
    <Code>USD</Code>
    <Name>US Dollar</Name>
    </PaymentCurrency>
    - <Payer>
    <PartyInternalID>2234567</PartyInternalID>
    <PartyNumber>12345344</PartyNumber>
    <Name>Abc Inc US OU/LE</Name>
    - <PartyType>
    <Code />
    <Meaning />
    </PartyType>
    <TaxRegistrationNumber />
    <LegalEntityRegistrationNumber>S11234</LegalEntityRegistrationNumber>
    <LegalEntityInternalID>114</LegalEntityInternalID>
    <LegalEntityName>Abc Inc US OU/LE</LegalEntityName>
    - <Address>
    <AddressInternalID>2341567</AddressInternalID>
    <AddressLine1>123 Meadow Rd</AddressLine1>
    <AddressLine2>P.O. Box 10000</AddressLine2>
    <AddressLine3 />
    <City>Fairfax</City>
    <County>Fairfax</County>
    <State>VA</State>
    <Country>US</Country>
    <ISO3DigitCountry>USA</ISO3DigitCountry>
    <CountryName>United States</CountryName>
    <PostalCode>20001-1111</PostalCode>
    <PreFormattedConcatenatedAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedConcatenatedAddress>
    <PreFormattedMailingAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedMailingAddress>
    <AddressName>NA-US-VA-Fairfax 123MDR</AddressName>
    </Address>
    - <ContaVAInfo>
    - <ContaVALocators>
    <PhoneNumber />
    <FaxNumber />
    <EmailAddress />
    <Website />
    </ContaVALocators>
    </ContaVAInfo>
    </Payer>
    - <PayerOrganization>
    <OrganizationInternalID>114</OrganizationInternalID>
    - <OrganizationType>
    <Code>OPERATING_UNIT</Code>
    <Meaning>Operating Unit</Meaning>
    </OrganizationType>
    <OrganizationName>Abc Inc US OU/LE</OrganizationName>
    </PayerOrganization>
    - <BankAccount>
    <BankAccountInternalID>10067</BankAccountInternalID>
    <BankName>HSBC</BankName>
    <AlternateBankName />
    <BankNumber />
    <BranchInternalID>69937446</BranchInternalID>
    <BranchName>HSBC - 001</BranchName>
    <AlternateBranchName />
    <BranchNumber />
    <BankAccountName>001 - CHAP - HSBC</BankAccountName>
    <AlternateBankAccountName />
    <BankAccountNumber>1178657</BankAccountNumber>
    <MaskedBankAccountNumber>XXXXXX8657</MaskedBankAccountNumber>
    <UserEnteredBankAccountNumber>1178657</UserEnteredBankAccountNumber>
    <BankAccountSuffix />
    <SwiftCode />
    <IBANNumber />
    <CheckDigits />
    - <BankAccountType>
    <Code />
    <Meaning />
    </BankAccountType>
    - <BankAccountCurrency>
    <Code>USD</Code>
    </BankAccountCurrency>
    - <BankAddress>
    <AddressInternalID />
    <AddressLine1 />
    <AddressLine2 />
    <AddressLine3 />
    <AddressLine4 />
    <City />
    <County />
    <State />
    <Province />
    <Country>US</Country>
    <ISO3DigitCountry>USA</ISO3DigitCountry>
    <CountryName>United States</CountryName>
    <PostalCode />
    <PreFormattedConcatenatedAddress />
    <PreFormattedMailingAddress />
    </BankAddress>
    - <FederalBankAccountInfo>
    <FederalRFCIdentifier />
    <FederalAgencyLocationCode />
    <FederalAbbreviatedAgencyCode />
    <FederalEmployerIdentificationNumber />
    </FederalBankAccountInfo>
    - <EFTUserNumber>
    <AccountLevelEFTNumber />
    <BranchLevelEFTNumber />
    </EFTUserNumber>
    </BankAccount>
    - <FunVAionalCategory>
    <Code>PAYABLES_DISB</Code>
    <Meaning>Payables Disbursements</Meaning>
    </FunVAionalCategory>
    </InstructionGrouping>
    - <OutboundPayment>
    - <PaymentSourceInfo>
    <ApplicationInternalID>200</ApplicationInternalID>
    <ApplicationName>SQLAP</ApplicationName>
    <PaymentServiceRequestID>24</PaymentServiceRequestID>
    - <FunVAionalCategory>
    <Code>PAYABLES_DISB</Code>
    <Meaning>Payables Disbursements</Meaning>
    </FunVAionalCategory>
    - <PayerOrganization>
    <OrganizationInternalID>114</OrganizationInternalID>
    - <OrganizationType>
    <Code>OPERATING_UNIT</Code>
    <Meaning>Operating Unit</Meaning>
    </OrganizationType>
    <OrganizationName>Abc Inc US OU/LE</OrganizationName>
    </PayerOrganization>
    <EmployeePaymentFlag>N</EmployeePaymentFlag>
    </PaymentSourceInfo>
    - <PaymentNumber>
    <DocCategory />
    <SequenceName />
    <SequenceValue />
    <PaymentReferenceNumber>6</PaymentReferenceNumber>
    <LogicalGroupReference />
    <CheckNumber>1112223334</CheckNumber>
    </PaymentNumber>
    <PaymentDate>2011-12-31</PaymentDate>
    <PaymentDueDate />
    <MaturityDate />
    - <PaymentStatus>
    <Code>Instruction_CREATED</Code>
    <Meaning>Instruction Created</Meaning>
    </PaymentStatus>
    - <Payee>
    <PartyInternalID>69929643</PartyInternalID>
    <PartyNumber>9755071</PartyNumber>
    <Name>MUNICIPAL REVENUE DIV</Name>
    <TaxRegistrationNumber />
    <LegalEntityRegistrationNumber />
    <AlternateName>5924</AlternateName>
    <SupplierNumber>3244</SupplierNumber>
    - <Address>
    <AddressInternalID>14791</AddressInternalID>
    <AddressLine1>PO BOX 1155</AddressLine1>
    <AddressLine2 />
    <AddressLine3 />
    <AddressLine4 />
    <City>EDISON</City>
    <County />
    <State>NJ</State>
    <Country>US</Country>
    <ISO3DigitCountry>USA</ISO3DigitCountry>
    <CountryName>United States</CountryName>
    <PostalCode>08818-1122</PostalCode>
    <AddressName>REP-1122</AddressName>
    <Addressee />
    <AlternateAddressName />
    <PreFormattedConcatenatedAddress>PO BOX 1155, , , EDISON, NJ, US, 08818-1122</PreFormattedConcatenatedAddress>
    <PreFormattedMailingAddress>PO BOX 1155, , , EDISON, NJ, US, 08818-1122</PreFormattedMailingAddress>
    </Address>
    - <ContaVAInfo>
    - <ContaVALocators>
    <PhoneNumber />
    <FaxNumber />
    <EmailAddress />
    <Website />
    </ContaVALocators>
    </ContaVAInfo>
    <SupplierSiteCode>WIRE 2</SupplierSiteCode>
    </Payee>
    - <TradingPartner>
    <PartyInternalID>69929643</PartyInternalID>
    <PartyNumber>9755071</PartyNumber>
    <Name>MUNICIPAL REVENUE DIV</Name>
    <TaxRegistrationNumber />
    <LegalEntityRegistrationNumber />
    <AlternateName>5924</AlternateName>
    <SupplierNumber>3244</SupplierNumber>
    - <ContaVAInfo>
    - <ContaVALocators>
    <PhoneNumber />
    <FaxNumber />
    <EmailAddress />
    <Website />
    </ContaVALocators>
    </ContaVAInfo>
    <AdditionalInformation />
    </TradingPartner>
    <PayeeBankAccount />
    - <Payer>
    <PartyInternalID>2234567</PartyInternalID>
    <PartyNumber>12345344</PartyNumber>
    <Name>Abc Inc US OU/LE</Name>
    - <PartyType>
    <Code />
    <Meaning />
    </PartyType>
    <TaxRegistrationNumber />
    <LegalEntityRegistrationNumber>S11234</LegalEntityRegistrationNumber>
    <LegalEntityInternalID>114</LegalEntityInternalID>
    <LegalEntityName>Abc Inc US OU/LE</LegalEntityName>
    - <Address>
    <AddressInternalID>2341567</AddressInternalID>
    <AddressLine1>123 Meadow Rd</AddressLine1>
    <AddressLine2>P.O. Box 10000</AddressLine2>
    <AddressLine3 />
    <City>Fairfax</City>
    <County>Fairfax</County>
    <State>VA</State>
    <Country>US</Country>
    <ISO3DigitCountry>USA</ISO3DigitCountry>
    <CountryName>United States</CountryName>
    <PostalCode>20001-1111</PostalCode>
    <PreFormattedConcatenatedAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedConcatenatedAddress>
    <PreFormattedMailingAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedMailingAddress>
    <AddressName>NA-US-VA-Fairfax 123MDR</AddressName>
    </Address>
    - <ContaVAInfo>
    - <ContaVALocators>
    <PhoneNumber />
    <FaxNumber />
    <EmailAddress />
    <Website />
    </ContaVALocators>
    </ContaVAInfo>
    </Payer>
    - <BankAccount>
    <BankAccountInternalID>10067</BankAccountInternalID>
    <BankName>HSBC</BankName>
    <AlternateBankName />
    <BankNumber />
    <BranchInternalID>69937446</BranchInternalID>
    <BranchName>HSBC - 001</BranchName>
    <AlternateBranchName />
    <BranchNumber />
    <BankAccountName>001 - CHAP - HSBC</BankAccountName>
    <AlternateBankAccountName />
    <BankAccountNumber>1178657</BankAccountNumber>
    <MaskedBankAccountNumber>XXXXXX2228</MaskedBankAccountNumber>
    <UserEnteredBankAccountNumber>1178657</UserEnteredBankAccountNumber>
    <BankAccountSuffix />
    <SwiftCode />
    <IBANNumber />
    <CheckDigits />
    - <BankAccountType>
    <Code />
    <Meaning />
    </BankAccountType>
    - <BankAccountCurrency>
    <Code>USD</Code>
    </BankAccountCurrency>
    - <BankAddress>
    <AddressInternalID />
    <AddressLine1 />
    <AddressLine2 />
    <AddressLine3 />
    <AddressLine4 />
    <City />
    <County />
    <State />
    <Province />
    <Country>US</Country>
    <ISO3DigitCountry>USA</ISO3DigitCountry>
    <CountryName>United States</CountryName>
    <PostalCode />
    <PreFormattedConcatenatedAddress />
    <PreFormattedMailingAddress />
    </BankAddress>
    - <FederalBankAccountInfo>
    <FederalRFCIdentifier />
    <FederalAgencyLocationCode />
    <FederalAbbreviatedAgencyCode />
    <FederalEmployerIdentificationNumber />
    </FederalBankAccountInfo>
    - <EFTUserNumber>
    <AccountLevelEFTNumber />
    <BranchLevelEFTNumber />
    </EFTUserNumber>
    </BankAccount>
    - <Beneficiary>
    <Name>MUNICIPAL REVENUE DIV</Name>
    </Beneficiary>
    - <PaymentAmount>
    <Value>35</Value>
    - <Currency>
    <Code>USD</Code>
    <Name>US Dollar</Name>
    </Currency>
    </PaymentAmount>
    <PaymentAmountText>Thirty-Five Dollars And Zero Cents***********************</PaymentAmountText>
    - <PaymentMethod>
    <PaymentMethodInternalID>CHECK</PaymentMethodInternalID>
    <PaymentMethodName>Check</PaymentMethodName>
    <PaymentMethodFormatValue>CHECK</PaymentMethodFormatValue>
    </PaymentMethod>
    <PayAlongFlag>N</PayAlongFlag>
    - <SettlementPriority>
    <Code />
    <Meaning />
    </SettlementPriority>
    - <AmountWithheld>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </AmountWithheld>
    - <DiscountTaken>
    - <Amount>
    <Value>0</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </Amount>
    </DiscountTaken>
    - <BankCharges>
    - <BankChargeBearer>
    <Code />
    <Meaning />
    </BankChargeBearer>
    - <Amount>
    <Value>0</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </Amount>
    </BankCharges>
    - <DeliveryChannel>
    <Code />
    <Meaning />
    <FormatValue />
    </DeliveryChannel>
    - <PaymentReason>
    <Code />
    <Meaning />
    <FormatValue />
    </PaymentReason>
    <PaymentReasonComments />
    <RemittanceMessage />
    <RemittanceMessage />
    <RemittanceMessage />
    - <BankInstruction>
    <BankInstructionCode />
    <Meaning />
    <FormatValue />
    </BankInstruction>
    - <BankInstruction>
    <BankInstructionCode />
    <Meaning />
    <FormatValue />
    </BankInstruction>
    <BankInstructionDetails />
    <PaymentTextMessage />
    <PaymentTextMessage />
    <PaymentTextMessage />
    <PaymentDetails />
    - <RegulatoryReporting>
    <DeclarationFlag>N</DeclarationFlag>
    - <Amount>
    <Value>0</Value>
    - <Currency>
    <Code />
    </Currency>
    </Amount>
    </RegulatoryReporting>
    - <FederalPaymentInfo>
    <FederalAllotmentCode />
    <FederalOffsetEligibilityFlag />
    <FederalAccountingSymbol />
    </FederalPaymentInfo>
    <DocumentPayableCount>1</DocumentPayableCount>
    - <DocumentPayable>
    - <DocumentNumber>
    <DocumentInternalIDSegment1>79860</DocumentInternalIDSegment1>
    <DocumentInternalIDSegment2>922522</DocumentInternalIDSegment2>
    <DocumentInternalIDSegment3>1</DocumentInternalIDSegment3>
    <DocumentInternalIDSegment4 />
    <DocumentInternalIDSegment5 />
    <ApplicationInternalID>200</ApplicationInternalID>
    <ApplicationDocumentSubType>PAYABLES_DOC</ApplicationDocumentSubType>
    <ApplicationUniqueInternalID>79860</ApplicationUniqueInternalID>
    <ReferenceNumber>35.00120211</ReferenceNumber>
    - <UniqueRemittanceIdentifier>
    <Number />
    <CheckDigit />
    </UniqueRemittanceIdentifier>
    <DocCategory>STD INV</DocCategory>
    <SequenceName>AP_US_STD_2011</SequenceName>
    <SequenceValue>2011072795</SequenceValue>
    </DocumentNumber>
    <PONumber>UNMATCHED</PONumber>
    - <DocumentStatus>
    <Code>PAYMENT_CREATED</Code>
    <Meaning>Payment Created</Meaning>
    </DocumentStatus>
    <DocumentDate>2011-12-02</DocumentDate>
    <DocumentCreationDate>2012-04-23</DocumentCreationDate>
    <PaymentDueDate>2011-12-02</PaymentDueDate>
    - <DocumentType>
    <Code>STANDARD</Code>
    <Meaning>Standard</Meaning>
    </DocumentType>
    <DocumentDescription>RESEARCH BOARD FORM 8802</DocumentDescription>
    <ExpenseReportCreditCardNumber />
    <EmployeePaymentFlag>N</EmployeePaymentFlag>
    - <TotalDocumentAmount>
    <Value>35</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </TotalDocumentAmount>
    - <PaymentAmount>
    <Value>35</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </PaymentAmount>
    <PayAloneFlag>N</PayAloneFlag>
    - <SettlementPriority>
    <Code />
    <Meaning />
    </SettlementPriority>
    - <AmountWithheld>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </AmountWithheld>
    - <DiscountTaken>
    - <Amount>
    <Value>0</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </Amount>
    <DiscountDate />
    </DiscountTaken>
    - <BankCharges>
    - <BankChargeBearer>
    <Code />
    <Meaning />
    </BankChargeBearer>
    </BankCharges>
    - <DeliveryChannel>
    <Code />
    <Meaning />
    <FormatValue />
    </DeliveryChannel>
    - <PaymentReason>
    <Code />
    <Meaning />
    <FormatValue />
    </PaymentReason>
    <PaymentReasonComments />
    <RemittanceMessage />
    <RemittanceMessage />
    <RemittanceMessage />
    - <Charge>
    - <TotalDocumentChargeAmount>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </TotalDocumentChargeAmount>
    </Charge>
    - <TotalDocumentTaxAmount>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </TotalDocumentTaxAmount>
    - <CreditAmountApplied>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </CreditAmountApplied>
    - <InterestAmountApplied>
    <Value />
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </InterestAmountApplied>
    <InterestRate />
    - <DocumentPayableLine>
    <LineNumber>1</LineNumber>
    <PONumber />
    - <LineType>
    <Code>ITEM</Code>
    <Meaning />
    </LineType>
    <LineDescription />
    - <LineGrossAmount>
    <Value>35</Value>
    - <Currency>
    <Code>USD</Code>
    </Currency>
    </LineGrossAmount>
    <UnitPrice />
    <Quantity />
    - <UnitOfMeasure>
    <Code>N</Code>
    <Meaning />
    </UnitOfMeasure>
    - <Tax>
    <TaxCode />
    <TaxRate />
    </Tax>
    </DocumentPayableLine>
    <DocumentPayerLegalEntityName>Abc Inc US OU/LE</DocumentPayerLegalEntityName>
    <DocumentPayerLegalEntityRegNumber>S11234</DocumentPayerLegalEntityRegNumber>
    <DocumentPayerTaxRegNumber />
    </DocumentPayable>
    </OutboundPayment>
    </OutboundPaymentInstruction>

  • Merging XML Data to make many documents

    Hello,
    Here's where I am at:
    I've used LifeCycle Designer to create a PDF with all the forms named. I have XML data for all my companys. The XML data merges into the document, and fills in the form perfectly.
    However, I'm looking to take this one step further, and automate the process. Meaning, Putting all the company data in one file, and importing the data to make PDF forms for each company.
    Similar to a mail merge. --Lots of different Companys, Fill in thier each individual page.
    What are the steps to do this?
    Thanks!
    --Jeff

    Yes.
    You can do one of the following:
    a) Build a custom application using the LiveCycle Forms api.
    b) Use the RenderForm QPAC within a workflow to convert the XML to a PDF.
    The RenderForm QPAC is a little obscure to use - read the documentation VERY carefully, and be very careful about the values you enter, otherwise it won't work. It does work perfectly if you get all the values right. In my experience, you do need to enter a username and password, even though these are not noted as mandatory fields.
    Howard
    http://www.avoka.com

Maybe you are looking for

  • Error in Phase START_SHDI_FIRST for Upgrade to ERP6 SR3

    Hi Folks We are performing a test upgrade 46C to ERP6 using the SR3 CDs and I'm stuck at the START_SHDI_FIRST stage. It's not the "usual" .acl problem. Here is an excerpt from the SAPup joblog. I also get the same result if I logon as <SID>OFR add th

  • SAP R/3 vs XI Batch Processing

    We are planning to move some of our existing interfaces between legacy systems & R/3 to be processed through XI. We would like to do this in such a manner that the business doesn't get impacted much and also keeping the project costs to minimum. Curr

  • HOW TO have many HOST files directed to ONE host file?

    Hello: I was wondering if it is possible to do the following: If we have in our HOST file many elements, lets say: my host name, TOR configuration, block pages, etc, and I would like to create several files to fragment this information on those files

  • Is the new "Purchased" option in iTunes not working fully yet? Missing TV programs etc

    Hi Is there a problem/bug with the new "Purchased" section in iTunes? I had quite a few corrupted tv episodes which i thought i would be able to re-download but there are a lot of my purchases ( complete seasons ) that are not showing, also several i

  • DBM Order - Assign Profit Center By DBM Order Type

    Hi SAP Gurus, I have new requirement from my user to have different Profit Center by DBM Order Types. Currently, we only have One profit center for all DBM Order types. The DBM Order type that we are using is :- 1. Counter Sales (DBM Order Type 1000)