Clubbing two XMLs before display using xtags

Hi,
I need an approach to club two xmls one after the other and then parsing the new combined xml into xtags as the logic below to generate an html output.
<xtags:style xml="<%=sXml%>" xsl="<%=sXsl%>">
<xtags:param name="sSiteid"><%=sSiteid%></xtags:param>
<xtags:param name="sLinkid"><%=sLinkid%></xtags:param>
<xtags:param name="actionurl"><%=actionurl%></xtags:param>
</xtags:style>I am able to show the output correctly with one xml but now I need to club two before display.
Kindly give some inputs.
Thanks,
Amit

For those who are having trouble understanding this post, "clubbing" is a regional usage of English that corresponds to the standard English words "combining" or "joining". It has nothing to do with hitting people.

Similar Messages

  • Attaching two XML docs together using XPath

    Hi,
    I have a conceptual question about whether something can be done in Oracle XML DB.
    I have two XML docs, doc1 and doc2. I want to attach doc2 to doc1 at some particular subelement of doc1's root element. I know the path to this subelement because I have an XPath which uniquely identifies that subelement. Assuming that these two docs are XMLTYPEs, is there a way to do this using XML DB functions, given only the XPath? Also, keep in mind that I don't know the structure of the documents at development time
    To better explain my question here is a stupid-simple example:
    doc1:
    <company>
    <department name="Sales"/>
    <department name="Marketing"/>
    </company>
    doc2:
    <employees>
    <employee name="Fred"/>
    <employee name="Jim"/>
    </employees>
    I want to attach doc2 into doc1 under doc1's <department name="Sales"/> element.
    I know that the XPath to this element is "/company/department[@name='Sales']"
    Is there any kind of Oracle magic that, given only doc1, doc2 and this XPath, would give me doc3:
    <company>
    <department name="Sales">
    <employees>
    <employee name="Fred"/>
    <employee name="Jim"/>
    </employees>
    </department>
    <department name="Marketing"/>
    </company>
    Although it seems kind of silly, whether or not this is possible will have to determine whether I use Oracle XML DB for my application. Also, in some situations the subelement I am attaching under may be nested 3, 4 or more elements below the root.
    Thanks in advance for any help,
    -Brad

    Yep ... exactly what I'm trying to do ... but it still don't work. This is what I get when I paste that into my SQL*Plus interface:
    SQL> set long 100000
    SQL> select updateXML(
    2 xmltype('
    3 <Document>
    4 <DocInfo>
    5 <EntityRef>EntityName</EntityRef>
    6 </DocInfo>
    7 <Body>
    8 <EntityRef>Entity2</EntityRef>
    9 </Body>
    10 </Document>'),
    11 '//EntityRef[text()="Entity2"]',
    12 XMLType('<NewRef>Something New</NewRef>')) from dual;
    UPDATEXML(XMLTYPE('<DOCUMENT><DOCINFO><ENTITYREF>ENTITYNAME</ENTITYREF></DOCINFO
    <Document>
    <DocInfo>
    <EntityRef>EntityName</EntityRef>
    </DocInfo>
    <Body>
    <EntityRef>Entity2</EntityRef>
    </Body>
    </Document>
    Is there a version of something or a pointer or a wrong package or something that I should be looking for? It's acting almost as though the functionality is stubbed out or not casting right or something.
    Here's an even odder deal:
    SQL> set long 100000
    SQL> select updateXML(
    2 xmltype('
    3 <Document>
    4 <DocInfo>
    5 <EntityRef>EntityName</EntityRef>
    6 </DocInfo>
    7 <Body>
    8 <EntityRef>Entity2</EntityRef>
    9 </Body>
    10 </D[i]Long postings are being truncated to ~1 kB at this time.

  • How to return two XML result sets using the function

    Hi Experts,
    Thanks.

    So that I want to return two XML result sets if the query returns more than 50,000 records.
    One XML result set with 50,000 and another XML result set with remaining records.
    How to incorporate this in my function.
    Have the function return a collection of CLOB then.
    DBMS_XMLGEN can handle pagination so it's easy to adapt your existing code.
    Here's an example fetching data in batches of max. 3 rows each, using a pipelined function :
    SQL> create or replace type clob_array is table of clob;
      2  /
    Type created
    SQL>
    SQL> create or replace function genXmlRowset (p_deptno in number) return clob_array pipelined
      2  is
      3    ctx    dbms_xmlgen.ctxHandle;
      4    doc    clob;
      5  begin
      6 
      7    ctx := dbms_xmlgen.newContext('SELECT empno, ename FROM scott.emp WHERE deptno = :1');
      8    dbms_xmlgen.setBindValue(ctx, '1', p_deptno);
      9    dbms_xmlgen.setMaxRows(ctx, 3);
    10 
    11    loop
    12 
    13      doc := dbms_xmlgen.getXML(ctx);
    14      exit when dbms_xmlgen.getNumRowsProcessed(ctx) = 0;
    15      pipe row (doc);
    16 
    17    end loop;
    18 
    19    dbms_xmlgen.closeContext(ctx);
    20 
    21    return;
    22 
    23  end;
    24  /
    Function created
    SQL> set long 5000
    SQL> select * from table(genXmlRowset(30));
    COLUMN_VALUE
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
      <EMPNO>7499</EMPNO>
      <ENAME>ALLEN</ENAME>
    </ROW>
    <ROW>
      <EMPNO>7521</EMPNO>
      <ENAME>WARD</ENAME>
    </ROW>
    <ROW>
      <EMPNO>7654</EMPNO>
      <ENAME>MARTIN</ENAME>
    </ROW>
    </ROWSET>
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
      <EMPNO>7698</EMPNO>
      <ENAME>BLAKE</ENAME>
    </ROW>
    <ROW>
      <EMPNO>7844</EMPNO>
      <ENAME>TURNER</ENAME>
    </ROW>
    <ROW>
      <EMPNO>7900</EMPNO>
      <ENAME>JAMES</ENAME>
    </ROW>
    </ROWSET>
    SQL>
    (and don't forget to use bind variables in your query)

  • Youtube videos only play for two seconds before displaying an error message since updating to FF28.

    Since updating to Firefox 28, videos on Youtube will display a spinning wheel for some time, only play one or two seconds of the video, and then go to a Youtube ‘an error has occurred’ screen. At this point, Flash will crash, hanging Firefox for a minute or so. This occurs whether I am using the HTML5 player or the default player. The same videos worked fine previously in Firefox 27, and still work fine over the same wifi connection on Chrome for Android. A similar issue had occurred under Firefox 27, but only if the video was embedded in another site. Vimeo and Facebook Video still work fine: the problem seems to be specific to Youtube. Everything else on the Youtube site itself works; it's only videos that are malfunctioning.
    I am running the latest Firefox and Flash updates on Windows 7 64-bit, with Tree Style Tab, Download Statusbar, Adblock Plus, Foxyscrobbler, NetUsageItem, and Pocket. The issue still occurs with all add-ons disabled in safemode, and with just Adblock disabled (my first thought was that perhaps Google had changed ad delivery in a way that caused ABP to break videos, but this doesn't appear to be so).
    Does anyone have any ideas as to what's gone wrong? :)

    Sorry, I forgot to mention, I tried turning hardware acceleration off as was suggested elsewhere on the support forum, but this didn't help either.

  • Delete Existing request in Cube of two years before data using ABAP

    Hi,
    I want to automize the process of deleting cube data which is Two years old in the process chain.
    I know this could be done in process type of delete overlapping request . There we  Should write ABAP code to acheive the same.
    I have seen the editor screen but could do nothing as i am writing the code for the first time.
    In the code i see the following:
    {form compute_XX
      tables l_t_request_to_delete structure rsreqdelstruc
      using l_request like rsreqdone-rnr
      changing p_subrc like sy-subrc.
    *Insert Source Code to decide if requests should be deleted.
    *All Requests in table l_t_request_to_delete will be deleted
    *from Infocube XX.
    *Add new requests if you want to delete more (from this cube).
    *Remove requests you did not want to be deleted.
    $$ begin of routine - insert your code only below this line        -
         loop at l_t_request_to_delete.
         endloop.
         clear p_subrc.
    ENDFORM.}
    Any clue of how to procede?

    You will need code similar than bellow in the routine that you mentioned:
    *Defined the ccupeaka data types as the timestamp calculation module
    *requires this data types
      DATA i_date LIKE  ccupeaka-timestamp.
      DATA i_request_date LIKE  ccupeaka-timestamp.
      DATA i_diff_sec TYPE i.
      DATA i_diff_day TYPE i.
      DATA i_request_tm LIKE rsreqdelstruc-timestamp.
    *Define here the retention period in days
      DATA c_retention_day TYPE i VALUE 70.
      i_date+0(8) = sy-datum.
      i_date+8(6) = '000000'.
      LOOP AT l_t_request_to_delete.
        i_request_tm = l_t_request_to_delete-timestamp.
        i_request_date = i_request_tm.
        CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
          EXPORTING
            timestamp1 = i_date
            timestamp2 = i_request_date
          IMPORTING
            difference = i_diff_sec.
    *Get the day difference:
        i_diff_day = i_diff_sec / 24 / 3600.
    *Exclude all request that are within the retention
    *time
        IF i_diff_day LE c_retention_day.
          DELETE l_t_request_to_delete.
        ENDIF.
      ENDLOOP.
    However, it is bad practice to keep a lot of request in a cube (e.g. all request of 12 month) without doing compression.
    Normally you would use request compression (lets say for all requests older 7 days) to have best cube query performance. As after compression you can no longer do request deletion you would then use the selective deletion as descibed in the document in the post above to control the data volume in the cube.
    Best regards,
    Axel

  • FILTER BEFORE DISPLAY & List_values(restrict)

    I have a view which retrieves around 400,000 records from
    various tables.
    I had to use two LOV's for allowing to query by not entering any
    values as well as partial values.
    Since List_Values(Restirct) and FILTER BEFORE DISPLAY options do
    go well together. I am using two LOVs for both of them.
    When I call the LOV with FILTER BEFORE DISPLAY, it retrieves the
    records faster ie 5 secs.
    When I call the LOV without FILTER BEFORE DISPLAY, using
    List_values(RESTRICT), then it takes around 30 secs.
    Any ideas about the difference in these two options?

    Hi,
    I might be mistaken (too many forms versions in my brain) but
    Filter Before Display ignores the contents of the output item. It
    shows a small window, where you can enter a filter before
    fetching all records to the LOV.
    LOV_VALUES(restrict); (if I remember correctly from my
    SQL*Forms30 days) actually used the contents of the item as a
    filter (for instance, if the item contains "a", the LOV only
    shows the records that start with "a").
    I've never tried to use both in the same LOV.
    I'll try it tomorrow.
    Hope this clears something,
    Pedro das Neves
    [email protected]

  • Unable to display a variable value in xml through xsl using coldfusion

    Hi ColdFusion Heroes ,
    Is their any one to help me in this issue . I am new to cold
    fusion , XML and XSL .
    Detail Explaination :
    develoment_files.cfm is a .cfm page , which includes an xml
    page .
    development_files_dropdown.xsl is a xsl page .
    develoment_files.cfm : Code is as follows .
    <CFDIRECTORY ACTION="LIST" DIRECTORY="#somepath#"
    NAME="DirContents" FILTER="p*">
    <CFQUERY DBTYPE="query" NAME="Files">
    SELECT *
    FROM DirContents
    WHERE Type = 'File'
    </CFQUERY>
    <CFOUTPUT><?xml version='1.0' encoding='UTF-8'?>
    <?xml-stylesheet type="text/xsl"
    href="../XSL/development_files_dropdown.xsl"?>
    <Test xmlns:xsi='
    http://www.w3.org/2001/XMLSchema-instance'>
    <CFLOOP QUERY="Files">
    <Directory>
    <DisplayName>#Name#</DisplayName>
    <FullPath>#Name#</FullPath>
    </Directory>
    </cfloop>
    </Test></CFOUTPUT>
    This file generates a query resulting files starting with p*
    and then it should be a file and manipulates in xml.
    development_files_dropdown.xsl pages is as follows.
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:preserve-space elements="*"/>
    <xsl:template match="/">
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="Test">
    <B>Script Name: </B>
    <select name="T1_Dev_Script" CLASS="DevInput">
    <xsl:for-each select="Directory">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="FullPath/text()"/>
    </xsl:attribute>
    <xsl:value-of select="DisplayName/text()"/>
    </option>
    </xsl:for-each>
    </select>
    </xsl:template>
    </xsl:stylesheet>
    This is only for the purpose of display .
    Now i want to get one particular file named "pfile" { Code is
    written in development_files.cfm page and kept it in a variable } I
    want to display it in #Name# filed. how can i do that ? I am
    getting XML Parsing error from javascript .
    Could any one look into this .
    Thanks & Regards,
    Nataraj G

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • I have two hard drives on my mac 10.5.8 power pc and hear the clickking sounds of the first hard drive and think that it may be dying, can I install everything on the other hard drive also and wait for the first drvie to die before i use the other drives

    I have two hard drives on my mac 10.5.8 power pc and hear the clickking sounds of the first hard drive and think that it may be dying, can I install everything on the other hard drive also and wait for the first drive to die before i use the other drives? Or, what is the best way to handle this?

    I do not know what you are waiting for.
    I'd make a backup of your important stuff before cloning the entire disk.
    Carbon Copy Cloner will copy your startup drive to an external  firewire drive.  You can boot from the external drive to verify that you have a good clone. When you upgrade your existing startup drive, you can at any time boot from your external drive and go back to your existing system.
    http://www.bombich.com/software/ccc.html
    SuperDuper is the wildly acclaimed program that makes recovery painless, because it makes creating a fully bootable backup painless. Its incredibly clear, friendly interface is understandable, easy to use, and SuperDuper's built-in scheduler makes it trivial to back up automatically. And it runs beautifully on both Intel and Power PC Macs!

  • Comparing two XML using DOM

    Hi All,
    I am comparing two XML nodes having same nodes using DOM parser.
    <?xml version="1.0"?>
    <compare value="xml1"/>
    < test name="java">
          <compare value="xml">
              <node>012</node>
    </compare>
    </test>
    < test name="java1">
          <compare value="xml2">
              <node>013</node>
          </compare>
          <compare value="xml3">
              <node>014</node>
         </compare>
    </test>I need to take <compare> and <node> present inside <test> tag.
    I am not getting the results properly if i am using the following code
    NodeList bList1 = doc.getElementsByTagName("compare");
                        for (int temp1 = 0; temp1 < bList.getLength(); temp1++) {
                          Node nNode = bList.item(temp1);
                          NamedNodeMap attributes = (NamedNodeMap)nNode.getAttributes();
                                          for (int g = 0; g < attributes.getLength(); g++) {
                                              Attr attribute = (Attr)attributes.item(g);
                                              System.out.println(" Attribute: " + attribute.getName() +
                                              " with value " +attribute.getValue());
                                           if (nNode.getNodeType() == Node.ELEMENT_NODE) {
                        Element eElement = (Element) nNode;
                                          NodeList nlList= eElement.getElementsByTagName("node").item(0).getChildNodes();
                    Node nValue = (Node) nlList.item(0);
                    String node = nValue.getNodeValue();
    }is there any possibility to get the <compare> and <node> tag present inside <test> tag...

    2nd xml
    <?xml version="1.0"?>
    <compare value="xml1"/>
    < test name="java">
          <compare value="xml">
              <node>012</node>
    </compare>
    </test>
    < test name="java1">
          <compare value="xml2">
              <node>015</node>
          </compare>
          <compare value="xml3">
              <node>016</node>
         </compare>
    </test>
    Map m1= new HashMap();
    NodeList bList1 = doc.getElementsByTagName("compare");
                        for (int temp1 = 0; temp1 < bList1.getLength(); temp1++) {
                          Node nNode = bList1.item(temp1);
                          NamedNodeMap attributes = (NamedNodeMap)nNode.getAttributes();
                                          for (int g = 0; g < attributes.getLength(); g++) {
                                              Attr attribute = (Attr)attributes.item(g);
    m1.put (attribute.getName(),attribute.getValue());
                                           if (nNode.getNodeType() == Node.ELEMENT_NODE) {
                        Element eElement = (Element) nNode;
                                          NodeList nlList= eElement.getElementsByTagName("node").item(0).getChildNodes();
                    Node nValue = (Node) nlList.item(0);
                    String node = nValue.getNodeValue();
    m1.put ("node");
    Map m2= new HashMap();
    NodeList bList2 = doc1.getElementsByTagName("compare");
                        for (int temp1 = 0; temp1 < bList2.getLength(); temp1++) {
                          Node nNode1 = bLis2.item(temp1);
                          NamedNodeMap attributes = (NamedNodeMap)nNode1.getAttributes();
                                          for (int g = 0; g < attributes.getLength(); g++) {
                                              Attr attribute = (Attr)attributes.item(g);
    m1.put (attribute.getName(),attribute.getValue());
                                           if (nNode1.getNodeType() == Node.ELEMENT_NODE) {
                        Element eElement = (Element) nNode1;
                                          NodeList nlList= eElement.getElementsByTagName("node").item(0).getChildNodes();
                    Node nValue = (Node) nlList.item(0);
                    String node = nValue.getNodeValue();
    m2.put ("node");
                        List<Map.Entry<String, String>> results =
                                new ArrayList<Map.Entry<String, String>>();
                        Set<Map.Entry<String, String>> s1 = m1.entrySet();
                        Set<Map.Entry<String, String>> s2 = m2.entrySet();
                            results =
                                                        new ArrayList<Map.Entry<String, String>>();
                        for (Map.Entry<String, String> entry : s1) {
                            if (!s2.contains(entry)) results.add(entry);
                        for (Map.Entry<String, String> entry : s2) {
                            if (!s1.contains(entry)) results.add(entry);
                        System.out.println(results);Like this I am comparing :
    I need to get the attribute value of <compare> and body value for
    <node> tag and need to compare the values in both XML.

  • Using Two Minotors with Display Spanning Monitors

    I'm interested exploring the option of using two monitors to display apps such as: Aperture, CS2 Photoshop (used as the external editor to Aperture), FinalCut Express and iMovie. My G5's video card will handle two monitors so that shouldn't be a problem. But was wondering how the spanning of the video display between two monitors works for these apps and if this is an efficient workflow?
    I have an Apple 20" Cinema Display and wish I had purchased a bigger monitor. However a Windows friend insists two monitors that span the application display accross both monitors is more efficient than a larger monitor. Two 20" monitors certainly would have more screen "real estate" than a single 23" monitor but I don't know how well a dual monitor set up would actually work!
    Interested in your experience here!
    Thanks!

    Hello Sven
    The only issue with dual monitors is not having them once you've had them!!! It is very addictive and very very productive..
    Having used monitors of odd sizes and now have two the same size, I would strongly suggest having two the same size!!
    Steps in the use of
    1. Level the two tops of the monitors slightly above eye height
    2. Put the monitors in a very slight arc
    3. Now sit slightly in front of one (just off centre), this is your main monitor. Your work window with the menu at the top.
    4. Now move all the junk to the second window, toolbars, palettes email RSS newsgroups and so on..
    You now can glance at the second monitor WITHOUT moving your head and this is where time is saved. As you get used to the same items being in the same place I can seem to change things from my peripheral vision.. Now your flying !!
    So to run two applications dependently eg a picture in photoshop from Aperture. Aperture in the main window and Photoshop in the other with all the junk!!
    I have also sat for long periods at a friends 32" and get terrible neck ache, your always sat/looking in wrong the place
    Good luck, any more questions fire away..
    Miles

  • How we can display two list if not using blocked alv ,not scr painter

    how we can display two list if not using blocked alv ,not scr painter

    1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
    1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
    1. Yes. without a sim it has no service, but all other features should be useable normally.
    1.a Nope, Data and Apps are independent of the Sim.
    2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
    2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
    3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
    3. If they can be run on the iPhone3GS they should be synced automatically.
    4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos. 
    4. If all 3 Devices share the same Apple ID all should be synced. 
    As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
    And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together.

  • Why sometimes we have to use two message( ) to display one message ?

    Sometimes one message( ) function is not working properly ? We have to use two message( ) to display one message ? Why ?

    And just to add a little on what dave said:
    You can also detect which button the user has clicked and do some action accordingly.
    DECLARE
    al_id ALERT;
    al_result NUMBER;
    BEGIN
      al_id := Find_Alert('MESSAGE');
      SET_ALERT_PROPERTY(al_id, ALERT_MESSAGE_TEXT, 'your message here');
      al_result := Show_Alert(al_id);
      IF al_result = ALERT_BUTTON1 THEN
         ...  --do some action.
      END IF;
    END;

  • Two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.

    two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.
    https://www.dropbox.com/home/iphone
    https://www.dropbox.com/home/iphonehttps://www.dropbox.com/home/iphone

    Make an appointment at the genius bar of your local Apple Store. The phone has a 1 year warranty. If it's no longer under warranty, a replacement is $269.

  • Error when running a JHeadstart generated two-level tree display

    Dear All,
    I have a simple master detail VO/VO datamodel based on which I'd like to generate a two-level tree display. I've followed the JHeadstart dev guide meticulously.
    When I run the page I get an error:
    javax.faces.el.PropertyNotFoundException: Error getting property 'name' from bean of type oracle.jbo.uicli.binding.JUCtrlHierTypeBinding
    It turns out that this generated code in a region file is the root cause:
    <af:switcher facetName="#{node.hierType.name}">
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortTypenNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortenBijTypeNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    </af:switcher>
    When I substituted the <af:switcher> .... </af:switcher> xml code by <af:outputText value="#{node.Omschrijving}"/>, the page displayed correctly.
    Given the fact that the code is generated, there doesn't seem to be much that I can do about it.
    We're using JDeveloper version 10.1.3.3.0 and JHeadstart version 10.1.3.2.41.
    Any help or suggestion would be much appreciated.
    Kind regards,
    Ibrahim

    Ibrahim,
    I cannot reproduce this. You are using a non-production build. Can you upgrade to JHeadstart 10.1.3.2.52?
    If the problem persists, you can work around it by creating a custom template for tree.vm which includes the af:switcher statement.
    Steven Davelaar,
    JHeadstart team.

  • How to merge two xmls.

    Hi All,
    I want to merge two xmls in my output. My scenario is I am getting two sets of outputs and I want to merge them to get my final output. I my output I have a header and a Lineitem. I my final output I want to keep header only once and all the LineItems one by one.Can anyone suggest something.
    First outout:-
    <outputVariable>
    -<part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<SiebelOrderQueryByExample_Output xmlns="http://siebel.com/asi/">
    -<ns:SiebelOrderQueryByExample_Output xmlns:ns="http://siebel.com/asi/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<ListOfOrderInterface xmlns="http://www.siebel.com/xml/Siebel%20Order">
    <Orders>
    <Id>1-15IXJ</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <ListOfLineItems>
    <LineItems>
    <Id>1-15IY3</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <LineNumber>301</LineNumber>
    </LineItems>
    </ListOfLineItems>
    </Orders>
    </ListOfOrderInterface>
    Second output:-
    <outputVariable>
    -<part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<SiebelOrderQueryByExample_Output xmlns="http://siebel.com/asi/">
    -<ns:SiebelOrderQueryByExample_Output xmlns:ns="http://siebel.com/asi/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<ListOfOrderInterface xmlns="http://www.siebel.com/xml/Siebel%20Order">
    -<Orders>
    <Id>1-15IXJ</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <ListOfLineItems>
    <LineItems>
    <Id>1-15IW2</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <LineNumber>302</LineNumber>
    </LineItems>
    </ListOfLineItems>
    </Orders>
    </ListOfOrderInterface>
    The required output which I want after merging.
    <outputVariable>
    -<part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<SiebelOrderQueryByExample_Output xmlns="http://siebel.com/asi/">
    -<ns:SiebelOrderQueryByExample_Output xmlns:ns="http://siebel.com/asi/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    -<ListOfOrderInterface xmlns="http://www.siebel.com/xml/Siebel%20Order">
    -<Orders>
    <Id>1-15IXJ</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <ListOfLineItems>
    <LineItems>
    <Id>1-15IW2</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <LineNumber>302</LineNumber>
    </LineItems>
    <LineItems>
    <Id>1-15IY3</Id>
    <OrderNumber>1012-1234</OrderNumber>
    <LineNumber>301</LineNumber>
    </LineItems>
    </ListOfLineItems>
    </Orders>
    </ListOfOrderInterface>
    Thanks

    I am not using file adapter. I am taking inputs from the BPEL client and displaying output to the client. My input xsd is:-
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org/ns/intorder"
    targetNamespace="http://www.example.org/ns/intorder"
    elementFormDefault="qualified">
    <xsd:element name="order" type="orderType">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:complexType name="orderType">
    <xsd:sequence>
    <xsd:element name="Order_Number" type="xsd:string"/>
    <xsd:element name="Line_item" type="LineType" maxOccurs="unbounded" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="LineType">
    <xsd:sequence>
    <xsd:element name="Line_Number" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>

Maybe you are looking for

  • Update a JFrame.

    Hi, I am new to java GUI. I created a JFrame containing 3 JPanels and a JLable, the JLabel contains a icon which is a graphic I generated. But as the program runs, the user can update some variables and the graph should change and some other labels i

  • Double consumption of Material while doing Picking using COIK T. code.

    Hi, I have a component for process order which is WM managed and is withdrawn from storage type 100. The component qty is  1504 PC and the stock in storage type 100 is 199 PC. While doing COIK the system issues double the qty ( 398) of the component

  • Enlarge icons in finder

    I can't for the life of me find the setting that I used to have in Mavericks whereby when I viewed a folder in the finder as icon view i.e. a load of photos, there used to be a slider in the button right corner of that window so I could increase and

  • Preview update from iCloud

    When does Preview download pictures from iCloud. I don't seem to be able to get recent pictures although both my iPhone and iPad show them.

  • How to find user log-out time ?

    Using SM05 i am able to extract the user login time(that too for active users). How should i get the logout time ? Tables like USR02 , USR41 give login time for active users only. When i try to log tables USR02 etc. , i cannot make a difference if it