Can't retrieve sub element in xml

I'm reading from an xml document which has gone fine up until now. There are two tags with the exact same element name, only one is a sub and one is in the main tree. I am trying to read the main one, but for some reason the sub is getting called. Is there a way to make java go to the next tag with that name? The root is actually "feed", but I set the NodeList thing to "entry" as that's after the subtree, but still doesn't work.
Here is my code:DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
Document doc = dBuilder.parse(URL1);
doc.getDocumentElement().normalize();
NodeList nList = doc.getElementsByTagName("entry");
for (int temp = 0; temp < nList.getLength(); temp++) {
Node nNode = nList.item(temp);
if (nNOde.getNodeType() == Node.ELEMENT_NODE) {
Element eElement = (Element) nNode;
URL2 = (getTagValue("id",eElement));
}Here is the XML document so you can see how the tree is set up. I need to retrieve the address at "id" to go to another xml document.<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<?xml-stylesheet href='capatom.xsl' type='text/xsl'?>
<!--
this comment is here to foil Internet Explorer and Firefox attempt to treat
this as a channel and thereby ignore our stylesheet
this comment is here to foil Internet Explorer and Firefox attempt to treat
this as a channel and thereby ignore our stylesheet
this comment is here to foil Internet Explorer and Firefox attempt to treat
this as a channel and thereby ignore our stylesheet
-->
<feed xmlns = 'http://www.w3.org/2005/Atom'
xmlns:cap = 'urn:oasis:names:tc:emergency:cap:1.1'
xmlns:ha = 'http://www.alerting.net/namespace/index_1.0'>
  <id>http://www.weather.gov/alerts-beta/wwaatmget.php?x=NDZ025</id>
  <generator>
  NWS CAP Server
  </generator>
  <updated>2009-04-22T01:45:37-04:00</updated>
  <author>
  <name>
  [email protected]
  </name>
  </author>
  <title>
  Current Watches, Warnings and Advisories for Foster (NDZ025) North Dakota Issued by the National Weather Service
  </title>
  <link href='http://www.weather.gov/alerts-beta/wwaatmget.php?x=NDZ025'/>
<entry>
<id>http://www.weather.gov/alerts-beta/wwacapget.php?x=ND20090421154400BISFloodWarningBIS20090422180000ND</id>
<updated>2009-04-22T01:45:37-04:00</updated>
<author>
<name>
[email protected]
</name>
</author>
<title>
Flood Warning issued April 21, 2009 at 10:44AM CDT expiring April 22, 2009 at 1:00PM CDT
Issued by Weather Forecast Office Bismark http://www.crh.noaa.gov/bis/
</title>
<link href="http://www.weather.gov/alerts-beta/wwacapget.php?x=ND20090421154400BISFloodWarningBIS20090422180000ND"/>
<summary>
...THE FLOOD WARNING CONTINUES FOR THE FOLLOWING RIVERS IN NORTHDAKOTA...  JAMES RIVER NEAR GRACE CITY AFFECTING FOSTER COUNTY  JAMES RIVER AT LAMOURE AFFECTING LA MOURE COUNTY  PIPESTEM CREEK NEAR PINGREE AFFECTING STUTSMAN COUNTY...THE FLOOD WARNING CONTINUES FOR THE FOLLOWING RIVERS IN NORTH
</summary>
<cap:effective>
2009-04-21T10:44:00-05:00
</cap:effective>
<cap:expires>
2009-04-22T13:00:00-05:00
</cap:expires>
<cap:status>
Actual
</cap:status>
<cap:msgType>
Alert
</cap:msgType>
<cap:category>
Met
</cap:category>
<cap:urgency>
Expected
</cap:urgency>
<cap:severity>
Moderate
</cap:severity>
<cap:certainty>
Likely
</cap:certainty>
<cap:areaDesc>
Foster
</cap:areaDesc>
</entry>
<entry>
<id>http://www.weather.gov/alerts-beta/wwacapget.php?x=ND20090421200200BISFloodWarningBIS20090422200000ND</id>
<updated>2009-04-22T01:45:37-04:00</updated>
<author>
<name>
[email protected]
</name>
</author>
<title>
Flood Warning issued April 21, 2009 at 3:02PM CDT expiring April 22, 2009 at 3:00PM CDT
Issued by Weather Forecast Office Bismark http://www.crh.noaa.gov/bis/
</title>
<link href="http://www.weather.gov/alerts-beta/wwacapget.php?x=ND20090421200200BISFloodWarningBIS20090422200000ND"/>
<summary>
THE NATIONAL WEATHER SERVICE IN BISMARCK HAS ISSUED A* FLOOD WARNING FOR...  BOTTINEAU COUNTY IN NORTH CENTRAL NORTH DAKOTA...  MCHENRY COUNTY IN NORTH CENTRAL NORTH DAKOTA...  PIERCE COUNTY IN NORTH CENTRAL NORTH DAKOTA...  ROLETTE COUNTY IN NORTH CENTRAL NORTH DAKOTA...
</summary>
<cap:effective>
2009-04-21T15:02:00-05:00
</cap:effective>
<cap:expires>
2009-04-22T15:00:00-05:00
</cap:expires>
<cap:status>
Actual
</cap:status>
<cap:msgType>
Alert
</cap:msgType>
<cap:category>
Met
</cap:category>
<cap:urgency>
Expected
</cap:urgency>
<cap:severity>
Moderate
</cap:severity>
<cap:certainty>
Likely
</cap:certainty>
<cap:areaDesc>
Bottineau; Burleigh; Dickey; Emmons; Foster; Kidder; La Moure; Logan; McHenry; McLean; Mercer; Mountrail; Pierce; Rolette; Sheridan; Stutsman; Ward; Wells
</cap:areaDesc>
</entry>
</feed>

Nevermind, it's reading the correct line, I used a URL1 == URL2 somewhere instead of .equals

Similar Messages

  • How can i retrieve missing element in array

    how can i retrieve missing element in arrays if array length is exceeded

    Not sure about what the question means, but could it be that OP is not aware that the first element in an array is at index 0 (not 1) ?
    <a href="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html" style="background:url(http://java.sun.com/docs/books/tutorial/figures/java/objects-tenElementArray.gif) no-repeat; width:400; height:145;"></a>

  • Can't convert string element to XML node using XSL

    We have a source XML with a node that contains another XML as string. Like this:
    "<imp1:payload>&lt;?xml version = '1.0' encoding = 'ISO-8859-15' standalone = 'no'?>
    &lt;!-- Oracle eXtensible Markup Language Gateway Server -->&lt;!DOCTYPE PROCESS_PO_007 SYSTEM "003_process_po_007.dtd">&lt;PROCESS_PO_007>&lt;CNTROLAREA>" etc
    And we have a target XML that has the schema inside the string in the source file, like this:
    "<PROCESS_PO_007>
    <CNTROLAREA>"....etc.
    How can we "parse" the string to a node using an XSL transformation file?

    Hi,
    Can you tell me which code are you using currently for transferrring the data? It might help me to figure out what your problem is.

  • Can castor retrieve the comnstraints provided in an xml schema

    hi,
    plz help me !!!!!!!!!!!
    does castor provide any function to retrieve the constraints
    defined in an xsd
    i know it provides functions for setting the constraints
    can i retrieve the value of constraints fromthe descriptor files returned by cator
    while unmarshalling the xsd file .
    thaks

    Hi 00ps, the way to do this with XSD schemas is to use a "choice" node, where you can select either BusinessEntity or Person.  Each of these nodes can then have different elements (inherited from a common source if you desire).
    Whilst doing all this is entirely possible with the BizTalk schema editor, it is far, far easier to use a specialist tool such as
    XMLSpy, which makes defining complex relationships an easy task.  For example, here is a similar sort of restriction I have in place on a schema:
    The "party" element is used in multiple schemas through the use of an import.  You can either use
    organisation or individual, they both use a common element called
    contact which contains address information etc which would be the same for both, but allow for different structures for party types.
    As you can see from the screen-shot, it's a lot easier to visualise with XML Spy.  The XSD notation is:
    <xs:choice>
    <xs:element name="organisation">
    ...blah...
    </xs:element>
    <xs:element name="individual">
    ...blah...
    </xs:element>
    </xs:choice>
    If this is helpful or
    answers your question - please mark accordingly.
    Because I get points for it which gives my life purpose (also, it helps other people find answers quickly)

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • How can I access the sub elements of the Nested Cluster-2

    would like to know the label a sub element of a Nested Cluster. I have included the vi. I am trying to programmetically read the Text label of the data elements in Value N mode cluster (Max , Min Mode). I was looking into the Type descriptor document. It can tell me how many and what type of elements are in the cluster. But it does not gove me Refnum to those objects.
    Let me know if you have an solution to my question."
    Attachments:
    cluster_1.vi ‏24 KB

    Hi
    You need to do a recursion. If the reference you get from the array "controls[]" if of type cluster, then you have to loop through recursively.
    Openg toolkit has variant tools that might be of some help to you (www.openg.org).
    Good luck
    PJM
    Got EasyXML?
    JKI.VIPM.EasyXML.OpenG.LAVA.Builder.blog

  • How can I access the sub elements of the Nested Cluster

    I would like to know the label a sub element of a Nested Cluster. I have included the vi. I am trying to programmetically read the Text label of the data elements in Value N mode cluster (Max , Min Mode). I was looking into the Type descriptor document. It can tell me how many and what type of elements are in the cluster. But it does not gove me Refnum to those objects.
    Let me know if you have an solution to my question.
    Attachments:
    cluster_1.vi ‏24 KB

    I suggest posting this question on the LabVIEW forum. This is the Measurement Studio for Visual Basic forum and there are not nearly as many LabVIEW experts that monitor this forum as the LabVIEW forum.
    - Elton

  • I made a DVD slideshow with premiere elements 4, in 2008. How can I retrieve the photos?

    I made a DVD slideshow with premiere elements 4, in 2008. How can I retrieve the photos?

    Install the excellent 'Search Everything' utility and enter 'extreme' as a search term. Note that when you first run 'Everything' it takes time to index your drive(s). After that though it is a nearly instantaneous start.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • How can i retrieve my serial number for photoshop element 12

    how can i retrieve my serial number for photoshop element 12

    http://www.adobe.com/go/learn_findserialnumber_en
    Let me know if this works.
    Regards,
    Shane.

  • How can I retrieve the inbound XML messages (invoices) by ABAP program?

    Where are the inbound XML messages (invoices) saved in XI box?
    How can I retrieve the inbound XML invoices in XI box by ABAP program?
    Is there any method/BADI/function module to retrieve these XML invoices, so I can output these XML invoices in an ABAP report?
    Thanks in advance for your help!

    Hello Fisher,
    This Webblog will help you.
    /people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
    From this blog you will understand the code behind SXMB moni .. which performs the selection from database. You can write a report as well.
    Cheers,
    Himadri

  • Retrieving Images Embedded In XML (from rss using xsl)

    I am trying to comsuem and rss feed into my site but i dont seem to see an "image" element in the Item node. can someoen tell me how to retrieve Images Embedded In XML dreamwaever. i am using an xsl fragment on a pap server.
    Doh

    Hi there, I am using a jsp page that takes a xml page from the internet (user defines what page it is) it then takes the xsl feed and transforms the xml with a TransformerFactory object to get the results as an html page, the error is received when the jsp page is called
    Ian

  • Help with Jaxb - AnyType access to sub-elements?

    Hi All,
    I am reading an XML file (defined with XML Schema) using Jaxb.
    I need one particular element to hold an arbitrary, but well formed, XML document (with any tags).
    As such I've defined this element to be of the type xs:anyType. (See payload)
    The AnyType Jaxb class however only appears to be giving me access to the text node strings (not sub-elements). (Notice its don't see <b> needs help </b>)
    I need the whole thing so I can pass it on to another parser.
    Any ideas? Is this supported in jaxb? Is this supported by XML Schema? Am I doing something wrong?
    See details below.
    Thanks!
    mike
    THE SCHEMA:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema elementFormDefault="qualified"
               attributeFormDefault="unqualified"
               jaxb:version="1.0"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:jaxb="http://java.sun.com/xml/ns/jaxb">
            <xs:element name="message" type="message"/>
            <xs:complexType name="message">
                    <xs:annotation>
                            <xs:appinfo>
                                    <jaxb:class name="XmlMessage"/>
                            </xs:appinfo>
                    </xs:annotation>
                    <xs:sequence>
                            <xs:element name="from" type="xs:string"/>
                            <xs:element name="to" type="xs:string"/>
                            <xs:element name="send-date" type="xs:date"/>
                            <xs:element name="payload" type="xs:anyType"/>
                    </xs:sequence>
            </xs:complexType>
    </xs:schema>
    THE DOCUMENT:
    <?xml version="1.0" encoding="UTF-8"?>
    <message xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="message.xsd">
         <from>Mike</from>
         <to>Java Community</to>
         <send-date>2006-03-23</send-date>
         <payload>Mike<b> needs help </b>parsing the AnyType</payload>
    </message>
    THE CODE:
            // get the fields
            String from = xmlMessage.getFrom();
            String to = xmlMessage.getTo();
            Calendar date = xmlMessage.getSendDate();
            AnyType payload = xmlMessage.getPayload();
            // print out the values
            System.out.println("FROM: " + from);
            System.out.println("TO: " + to);
            System.out.println("DATE: " + date.getTime());
            System.out.println("PAYLOAD: " + payload);
            // print out details regarding the payload (The AnyType list)
            System.out.println("\tAnyType list length = "
                    + payload.getContent().size());
            for (Iterator i = payload.getContent().iterator(); i.hasNext();) {
                Object o = i.next();
                System.out.println("\t" + o.getClass() + " : \"" + o + "\"");
            } THE OUTPUT:
    FROM: Mike
    TO: Java Community
    DATE: Wed Mar 22 19:00:00 EST 2006
    PAYLOAD: org.w3._2001.xmlschema.impl.AnyTypeImpl@1c99159
         AnyType list length = 2
         class java.lang.String : "Mike"
         class java.lang.String : "parsing the AnyType"

    Ok.
    source message:
    root
    - node0 (first instance)
    --- node1
    name="<b>key</b>"
    value="<b>my_key_value_1</b>"
    --- /node1
    --- node1
    name="attribute1"
    value="attribute1_value"
    --- /node1
    --- /node0
    - node0 (second instance)
    --- node1
    name="<b>key</b>"
    value="<b>my_key_value_2</b>"
    --- /node1
    --- node1
    name="attribute1"
    value="attribute1_value"
    --- /node1
    - /node0
    /root
    Desired destination message:
    root
    - node0 (first instance)
    - key_value=<b>my_key_value_1</b> <- does exist
    --- node1
    name="<b>key</b>"
    value="<b>my_key_value_1</b>"
    --- /node1
    --- node1
    name="attribute1"
    value="attribute1_value"
    --- /node1
    - /node0
    - node0 (second instance)
    - key_value=<b>my_key_value_2</b>  < should exist but does <u>not</u> exist
    --- node1
    name="<b>key</b>"
    value="<b>my_key_value_2</b>"
    --- /node1
    --- node1
    name="attribute1"
    value="attribute1_value"
    --- /node1
    - /node0
    /root

  • Upgrade to 11g - DBUA can't retrieve the version

    Hello,
    I'm upgrading 10.2.0.4 version to 11.2.0.2 and I have problem at the beginning.
    Immediately after the start of DBUA in the I get the error, that the version of the database can' be retrieved. Somewhere in the logs I have found:
    connect /****** as SYSDBA
    set echo off;
    @/u01/app/oracle/OracleHomes/db11g/rdbms/admin/rdbmsup.sql;
    exactly at this point I have big understanding problem.
    It looks like the new software wants to connect to the instance and can't. What should I do to allow it to do that? I have started the new(11g) listener and it it possible to connect to the old 10g instance, but the old instance runs in the old home. I can connect to it, but I must use the tnsname "emrep". Without using the tnsname it connects to the idle instance.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> conn sys@emrep as sysdba
    Enter password:
    Connected.
    Probably I have made some mistake during configuration of the listener, but I can't find any guidance in this direction. At all places where I'm looking I see only: "create new listener using netca and add the database in the Database Services tab for this listener using netmgr". Actually there is no need to do the last because tha databse is using the default port 1521.
    If I do only that, the I get in $ORACLE_HOME/networt/admin folder only listener.ora with the following contents:
    # listener.ora Network Configuration File: /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mmredora.aegon-net.de)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    After that I see the databse registered with the listener:
    [oracle@mmredora-SID:emrep]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2011 15:38:23
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mmredora.aegon-net.de)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-SEP-2011 15:34:19
    Uptime 0 days 0 hr. 4 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/mmredora/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mmredora.aegon-net.de)(PORT=1521)))
    Services Summary...
    Service "emrep" has 1 instance(s).
    Instance "emrep", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Can somebody help me with that?

    "could not get the database version from the "Oracle Server" component. The "CEP" file "/u01/app/oracle/OracleHomes/db11g/rdbms/admin/rdbmsup.sql" does not provide the version directive."
    but I have found some other problem.
    in rdbmsup.sql I found:
    SELECT version INTO inst_version FROM v$instance;
    vers := SUBSTR(inst_version,1,6); -- three digits
    ptch_version := SUBSTR(inst_version,1,8); -- four digits (patch release)
    IF (vers = '9.2.0' AND
    SUBSTR(ptch_version,1,8) = '9.2.0.8') OR
    (vers = '10.1.0' AND
    SUBSTR(ptch_version,1,8) = '10.1.0.5') OR
    (vers = '10.2.0' AND
    SUBSTR(ptch_version,1,8) != '10.2.0.1') OR
    (vers IN ('11.1.0','11.2.0')) THEN
    NULL; -- is a supported version
    ELSE
    -- version is some unsupported version
    DBMS_OUTPUT.PUT_LINE('ODMA_DIRECTIVE:EXIT:NOT_INSTALLED:');
    RETURN;
    END IF;
    I have executed
    SELECT version INTO inst_version FROM v$instance;
    from sqlplus connecting to the old instance using a "tnsname" and get version 10.1.0.4, not "10.2.0.4" as it is in my papers. now I'm making upgrade to 10.1.0.5
    But it still bothers me: this "connect /****** as SYSDBA"! The text of the message sounds like "not possible to retrieve the version at all" - not that it is an unsupported version.

  • Remove element from xml using dom.

    i want to remove an element from an xml file using dom.
    i remove the element but the whole content of the file is also deleted.
    how can i rewrite the file.

    vij_ay wrote:
    subject :Remove element from xml,but if empty element in input file then output should be <tag></tag>, not like <tag.xml/>I assume you mean <tag/> but why do you want this? Any application that will not accept this valid XML construct is flawed and a bug report should be raised against it.

  • Specifying the output order of elements in XML using Oracle Reports.

    Hi,
    I am developing an Oracle Reports report, using Report
    Builder 6.0.8.17.0 on WinNT. The requirement is that the report
    will only ever be used to generate XML output.
    However, due to a bug in the XML Parser at the other end,
    it's necessary to have certain elements appear in the XML before
    others.
    e.g. This simplistic example shows XML output from Reports
    runtime, which looks something like this:
    <DEPT id="10">
    <NAME>Government</NAME>
    <EMP id="4435">
    <SAL>12000</SAL>
    <ENAME>Harry Boland</ENAME>
    <EMP>
    <EMP id="8643">
    <SAL>21000</SAL>
    <ENAME>Michael Collins</ENAME>
    <EMP>
    <EMP id="9900">
    <SAL>47000</SAL>
    <ENAME>Eamonn de Valera</ENAME>
    <EMP>
    <LOCATION>
    <ADDRESS type="street">Kildare St.</ADDRESS>
    <ADDRESS type="city">Dublin</ADDRESS>
    </LOCATION>
    </DEPT>
    However, the application that is parsing the XML fails due to
    the fact that it expects the LOCATION element to be the first
    within the DEPT element. i.e. before the NAME or any of the EMP
    elements.
    The way I have developed this is by creating a master query
    which creates a master group, G_DEPT, with two column, ID and
    NAME, and two detail queries and corresponding detail groups, EMP
    and LOCATION. These groups are joined to the master using the
    datalink facility in Report Builder.
    Is there any way in Report Builder I can specify that the
    LOCATION element is to be output for each DEPT element before any
    other element belonging to DEPT?
    Thanks,
    Iibhear.

    The order of the elements is determined by the order of the columns in the Data Model. Note that you can also use the "Exclude from XML output" property to completely omit columns form the XML output.
    Message was edited by:
    Brian Hill
    This applies to Reports 10g. I don't know if it also works in 6i.

Maybe you are looking for

  • Urgent : Error while loading data from PSA to DSO

    Hi, I am working on 7.0. When i look for data into PSA then i have 1 date field which is containing data in proper date format. This date field is mapped with 0CALMONTH & 0CALYEAR for which i have written routine and directly assigned to 0DOC_DATE .

  • IPhone Keypad popping up during Shutdown

    Hello Apple Technicains and Users, i don't know if this was posted before but there is a firmware problem that i've been noticing (and a couple of my friends) during the normal shutdown of the iPhone 4. What would happen during the shutdown normally

  • Lightroom to Photoshop Over a Network

    I use my Macbook Pro as my main computer and have been testing out keeping my files on an HD connected to my old G4 with the catalog on my laptop. It seems to work out OK except for when I try to edit files in Photoshop. I get a dialog box that says

  • How do i update itunes on ipad2

    how do i update itunes on ipad2?

  • Can we change the Internet Explorer browse Title

    can we change not only the header area, but also the IE title?