How to retrieve values from Referring Nodes

Hi
My sample XML nodes are, assume these to nodes are in a same XML file.
<DestinationBandDefinitionList>
<DestinationBandDefinition>
<DestinationBandName>Group 1</DestinationBandName>
<DestinationList>
<Destination>
<Name>India</Name>
<DestinationIdentifierList type="prefix">
<Value>91</Value>
</DestinationIdentifierList>
</Destination>
<Destination>
<Name>USA</Name>
<DestinationIdentifierList type="prefix">
<Value>1</Value>
</DestinationIdentifierList>
</Destination>
</DestinationBandDefinition>
</DestinationBandDefinitionList>
<DestinationBandDefinitionList>
<DestinationBandDefinition>
<DestinationBandName>Group 2</DestinationBandName>
<DestinationList>
<Destination>
<Name>UAE</Name>
<DestinationIdentifierList type="prefix">
<Value>971</Value>
</DestinationIdentifierList>
</Destination>
<Destination>
<Name>Russia</Name>
<DestinationIdentifierList type="prefix">
<Value>7</Value>
</DestinationIdentifierList>
</Destination>
</DestinationBandDefinition>
</DestinationBandDefinitionList>
<TariffList>
<DestinationBand>
<DestinationBandName>Group 1</DestinationBandName>
<RatingIntervalName>standard1</RatingIntervalName>
<Rate taxIncluded="false" type="N">3.50</Rate>
</RateSpecification>
<RateSpecification>
<RatingIntervalName>standard2</RatingIntervalName>
<Rate taxIncluded="false" type="N">3.50</Rate>
</RateSpecification>
</RateSpecificationList>
</DestinationBand>
What is the statement to query the Taxincluded value of the Group, where USA belongs.
My DB is Oracle 10g 2.0.1.0
Thanks in advance
Rizly

SQL> with XML as
  2  (
  3    select XMLTYPE(
  4  '<Root>
  5     <DestinationBandDefinitionList>
  6             <DestinationBandDefinition>
  7                     <DestinationBandName>Group 1</DestinationBandName>
  8                     <DestinationList>
  9                             <Destination>
10                                     <Name>India</Name>
11                                     <DestinationIdentifierList type="prefix">
12                                             <Value>91</Value>
13                                     </DestinationIdentifierList>
14                             </Destination>
15                             <Destination>
16                                     <Name>USA</Name>
17                                     <DestinationIdentifierList type="prefix">
18                                             <Value>1</Value>
19                                     </DestinationIdentifierList>
20                             </Destination>
21                     </DestinationList>
22             </DestinationBandDefinition>
23     </DestinationBandDefinitionList>
24     <DestinationBandDefinitionList>
25             <DestinationBandDefinition>
26                     <DestinationBandName>Group 2</DestinationBandName>
27                     <DestinationList>
28                             <Destination>
29                                     <Name>UAE</Name>
30                                     <DestinationIdentifierList type="prefix">
31                                             <Value>971</Value>
32                                     </DestinationIdentifierList>
33                             </Destination>
34                             <Destination>
35                                     <Name>Russia</Name>
36                                     <DestinationIdentifierList type="prefix">
37                                             <Value>7</Value>
38                                     </DestinationIdentifierList>
39                             </Destination>
40                     </DestinationList>
41             </DestinationBandDefinition>
42     </DestinationBandDefinitionList>
43     <TariffList>
44             <DestinationBand>
45                     <DestinationBandName>Group 1</DestinationBandName>
46                     <RatingIntervalName>standard1</RatingIntervalName>
47                     <Rate taxIncluded="false" type="N">3.50</Rate>
48                     <RateSpecificationList>
49                             <RateSpecification>
50                                     <RatingIntervalName>standard2</RatingIntervalName>
51                                     <Rate taxIncluded="false" type="N">3.50</Rate>
52                             </RateSpecification>
53                     </RateSpecificationList>
54             </DestinationBand>
55     </TariffList>
56  </Root>') XMLDOC
57    from dual
58  )
59  select xmlquery
60         (
61           '$doc/Root/TariffList/DestinationBand[DestinationBandName/text() = $doc/Root/DestinationBandDefinitionList/De
BandDefinition[DestinationList/Destination[Name="USA"]]/DestinationBandName/text()]/Rate/@taxIncluded'
62           passing XMLDOC as "doc" returning content
63         )
64    from XML;
false
Elapsed: 00:00:00.09
Execution Plan
Plan hash value: 2594004460
| Id  | Operation                            | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT                     |                        |     1 |       |     2   (0)| 00:00:01 |
|   1 |  SORT AGGREGATE                      |                        |     1 |     2 |            |       |
|*  2 |   FILTER                             |                        |       |       |            |       |
|   3 |    COLLECTION ITERATOR PICKLER FETCH | XMLSEQUENCEFROMXMLTYPE |       |       |            |       |
|   4 |    NESTED LOOPS                      |                        |   667K|  2606K|   221K  (1)| 00:44:24 |
|   5 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
|*  6 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
|   7 |  FAST DUAL                           |                        |     1 |       |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   2 - filter( EXISTS (SELECT 0 FROM TABLE() "KOKBF$",TABLE() "KOKBF$" WHERE
              SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ_UPKXML2SQL(SY
              S_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)))
   6 - filter(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ
              _UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0))
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> set heading on
SQL> with XML as
  2  (
  3    select XMLTYPE(
  4  '<Root>
  5     <DestinationBandDefinitionList>
  6             <DestinationBandDefinition>
  7                     <DestinationBandName>Group 1</DestinationBandName>
  8                     <DestinationList>
  9                             <Destination>
10                                     <Name>India</Name>
11                                     <DestinationIdentifierList type="prefix">
12                                             <Value>91</Value>
13                                     </DestinationIdentifierList>
14                             </Destination>
15                             <Destination>
16                                     <Name>USA</Name>
17                                     <DestinationIdentifierList type="prefix">
18                                             <Value>1</Value>
19                                     </DestinationIdentifierList>
20                             </Destination>
21                     </DestinationList>
22             </DestinationBandDefinition>
23     </DestinationBandDefinitionList>
24     <DestinationBandDefinitionList>
25             <DestinationBandDefinition>
26                     <DestinationBandName>Group 2</DestinationBandName>
27                     <DestinationList>
28                             <Destination>
29                                     <Name>UAE</Name>
30                                     <DestinationIdentifierList type="prefix">
31                                             <Value>971</Value>
32                                     </DestinationIdentifierList>
33                             </Destination>
34                             <Destination>
35                                     <Name>Russia</Name>
36                                     <DestinationIdentifierList type="prefix">
37                                             <Value>7</Value>
38                                     </DestinationIdentifierList>
39                             </Destination>
40                     </DestinationList>
41             </DestinationBandDefinition>
42     </DestinationBandDefinitionList>
43     <TariffList>
44             <DestinationBand>
45                     <DestinationBandName>Group 1</DestinationBandName>
46                     <RatingIntervalName>standard1</RatingIntervalName>
47                     <Rate taxIncluded="false" type="N">3.50</Rate>
48                     <RateSpecificationList>
49                             <RateSpecification>
50                                     <RatingIntervalName>standard2</RatingIntervalName>
51                                     <Rate taxIncluded="false" type="N">3.50</Rate>
52                             </RateSpecification>
53                     </RateSpecificationList>
54             </DestinationBand>
55     </TariffList>
56  </Root>') XMLDOC
57    from dual
58  )
59  select xmlquery
60         (
61           '$doc/Root/TariffList/DestinationBand[DestinationBandName/text() = $doc/Root/DestinationBandDefinitionList/De
BandDefinition[DestinationList/Destination[Name="USA"]]/DestinationBandName/text()]/Rate/@taxIncluded'
62           passing XMLDOC as "doc" returning content
63         ) RESULT
64    from XML;
false
Elapsed: 00:00:00.10
Execution Plan
Plan hash value: 2594004460
| Id  | Operation                            | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT                     |                        |     1 |       |     2   (0)| 00:00:01 |
|   1 |  SORT AGGREGATE                      |                        |     1 |     2 |            |       |
|*  2 |   FILTER                             |                        |       |       |            |       |
|   3 |    COLLECTION ITERATOR PICKLER FETCH | XMLSEQUENCEFROMXMLTYPE |       |       |            |       |
|   4 |    NESTED LOOPS                      |                        |   667K|  2606K|   221K  (1)| 00:44:24 |
|   5 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
|*  6 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
|   7 |  FAST DUAL                           |                        |     1 |       |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   2 - filter( EXISTS (SELECT 0 FROM TABLE() "KOKBF$",TABLE() "KOKBF$" WHERE
              SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ_UPKXML2SQL(SY
              S_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)))
   6 - filter(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ
              _UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0))
SQL>
SQL>
SQL>
SQL>
SQL>

Similar Messages

  • How to retrieve value from xml file

    hi all,
    can somebody pls tell me how to retrieve value from xml file using SAXParser.
    I want to retrieve value of only one tag and have to perform some validation with that value.
    it's urgent .
    pls help me out
    thnx in adv.
    ritu

    hi shanu,
    the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
    pls have a look at the following code snippet.
    public class XMLValidator {
    static ArrayList strXXX = new ArrayList();
    public void validate(){
    factory.setValidating(true);
    parser = factory.newSAXParser();
    //all factory code is here only
    parser.parse(xmlURI, new XMLErrorHandler());     
    public void setXXX(String pstrXXX){          
    strUpn.add(pstrXXX);
    public ArrayList getXXX(){
    return strXXX;
    class XMLErrorHandler extends DefaultHandler {
    String tagName = "";
    String tagValue = "";
    String applicationRefNo = "";
    String XXXValue ="";
    String XXXNo = "";          
    XMLValidator objXmlValidator = new XMLValidator();
    public void startElement(String uri, String name, String qName, Attributes atts) {
    tagName = qName;
    public void characters(char ch[], int start, int length) {
    if ("Reference".equals(tagName)) {
    tagValue = new String(ch, start, length).trim();
    if (tagValue.length() > 0) {
    RefNo = new String(ch, start, length);
    if ("XXX".equals(tagName)) {
    XXXValue = new String(ch, start, length).trim();
    if (XXXValue.length() > 0) {
    XXXNo = new String(ch, start, length);
    public void endElement(String uri, String localName, String qName) throws SAXException {                    
    if(qName.equalsIgnoreCase("XXX")) {     
    objXmlValidator.setXXX(XXXNo);
    thnx & Regards,
    ritu

  • How to retrieve values from the struts DAO to Struts JSP

    Hi friends,
    I have one question. i want to display values in the struts jsp file from the struts DAO class. can anyone tell how do it.
    Appreciated for your help.
    Thanks
    G1 :)

    Hi Santosh,
    Thanks for your prompt reply.
    Actually, my problem is i want to display complete rows from the DAO to JSP page. I'm displaying all the rows in the DAO from DB.
    But i dont know how to retrieve all these data from DAO. Can i take arraylist.??
    DAO:
    ------------     public Customers getData(Customers customers){ // Reading data from DB
         //ArrayList list = null ;
         try
              Connection conn = getSQLConnection();
              Statement statement = conn.createStatement();
              String qry = "select * from register";
              ResultSet resultSet = null;
              PreparedStatement pstat = conn.prepareStatement(qry);
              // pstat.setString(1, customers.getFname());
              resultSet = pstat.executeQuery();
    //Print the data to the console
    while(resultSet.next()){
              String fnam = resultSet.getString(1);
              String lnam = resultSet.getString(2);
              String gen = resultSet.getString(3);
              String addres = resultSet.getString(4);
              String cit = resultSet.getString(5);
              String zip = resultSet.getString(6);
              String county = resultSet.getString(7);
              String emal = resultSet.getString(8);
              System.out.println("First name:"+fnam);
              System.out.println("Last name:"+lnam);
              System.out.println("Address:"+addres);
              customers.setFname(fnam);
              customers.setLname(lnam);
              customers.setGender(gen);
              customers.setAddress(addres);
              customers.setCity(cit);
              customers.setZipcode(zip);
              customers.setCountry(county);
              customers.setEmail(emal);
                   statement.close();
                   conn.close();
              }catch(Exception e1){
                   e1.printStackTrace();
              return customers;
    Bean:
    I have specified in this line in Bean:
    request.getSession().setAttribute("customers", customers);
    But in JSP. how will i populate all these data. Pls..send some code.
    I'm sorry this is just practicals. i'm not doin any real time project. that;s why i have placed all these code.
    Thanks for your patience for resolving my problems.
    Thanks
    G1

  • How to retrieve value from AIAInstallProperties.xml in AIA Flow.

    After PIP Developement, Installer team will build the OUI installer for the PIP.They will build the screens for our PIP based on the requirements we give them.We give them a list of properties that we need the installer to prompt for and then the installer will store the values entered by the user in AIAInstallProperties.xml file.When the code is written, these properties are used instead of hardcoding any machine names, usernames, passwords, etc. When the services are deployed the properties are replaced with the values in AIAInstallProperties.xml.
    How to retreive those values from AIAInstallProperties.xml file to your participating applications or any adapters in your code?
    When the services are deployed how the properties are getting replaced with the values in AIAInstallProperties.xml.?
    Can anyone explain the above two flow.
    Thanks in advance.

    Hi
    Prem Edwin's posting about AIAInstallProperties.xml is correct.
    Two points, the 11gR1 is a foundation pack only release, that is why the OUI is only built to collect FP related information. In the future, when PIPs arrive, new wizard steps will involve to collect PIP specific information during installation/deployment time.
    For your example of of getting a file location during installation, it would be effectively for your self-built PIPs. That is why the 11gR1 FP OUI would not support that.
    Also, there are only finite number of tokens can be detokenized from AIAInstallProperties.xml to composite.xml, if you were introducing a random new 'file path', I don't believe it would be replaced automatically by default in R1 time.
    Thanks!

  • How to retrieve value from insert statement

    hi,
    how can i get a certain value from insert statement and store it in a variable.
    suppose i am inserting emp_no , emp_name , emp_salary to employee table
    and i want to store the emp_name in a variable for other processing,
    how can i accomplish this ? i'm guessing that i have to use trigger,
    but dont know the procedure .
    any help will be greatly appreciated
    thanks

    insert into <table> valiues (....) returning <expression> into <variable>
    You could and should have found this using the SQL Language reference manual
    or
    http://www.morganslibrary.org/reference/insert.html
    Sybrand Bakker
    Senior Oracle DBA

  • How to retrieve values from Dynamic Selection screen while using LDB  - PSJ

    I am having problem in PSJ Logical database. In a custom report which is using PSJ LDB, we are using PROJ and PRPS_R tables.
    When I run program it displays one dynamic selection screen, there we are giving selection criteria for PRPS (Master data WBS element) - Created on (giving some range like 2011/01/01 to 2011/01/31).
    So I want to display all WBS element which are created during the period (2011/01/01 - 2011/01/31).
    How do I retrieve the select-option low and high value of the field Created on Of WBS element if we Select data from any table based on this condition.
               Please help me.
    Thanks.

    in fact you don't have to get the values, you only need to tell to the program to take them into account :
    GET PRPS.
      CHECK SELECT-OPTIONS.

  • How to retrieve value from saw.bookmarURL

    Hi All,
    Im wondering how can we get the BookMark URL that is generated and stored in the variable in Presentation Services.
    "the bookmark URL is retrieved asynchronously and put into variable saw.bookmarkURL"
    as specified in the Oracle Doc http://docs.oracle.com/cd/E10383_01/doc/bip.1013/e10416/dashbdlinks.htm
    Thanks
    Kaushik

    Click on 'Create bookmark Link' using page Options and see the value.
    <script type="text/javascript">
    alert(GetPURL( ));
    alert(GetPURL(saw.bookmarkURL)); --Initially null after hitting the button there is value
    alert(window.location.href); ---> after hitting the button whole bookmark
    </script>
    Mark if useful

  • How to retrieve value from ComboBox inside a Jtable

    Hi everyone, I've this problem: I used the code that I founded to this link:
    [http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#combobox|http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#combobox]
    So I inserted a comboBox in my Jtable but I don't retrieve comboBox's values.
    I tried to retrieve these values in this way:
    myTable1.getModel().getValueAt(rowIndex, columnIndex).getClass();but this code produce a NullPointerException.
    thank you for helping me!!!!

    but I don't retrieve comboBox's valuesCorrect, because the combo box and its data is not part of the TableModel. The TableModel only stores the item that was selected from the combo box when the cell was edited.
    If you are getting an exception it is because you haven't set any data in your table model for the given cell.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Urgent: How to get value from Element Node?

    Hi All,
    I have an xml like below:
    <?xml version="1.0"?>     
    <Accounts>
    <Account rowid="1">
    <Account_Id>1</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>SB</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    <Account rowid="2">
    <Account_Id>2</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>CD</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    </Accounts>
    I am trying to get the value in the Account_Id element, but I am getting null everytime. Here is my code:
    import com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser;
    DOMParser parser = new DOMParser();
    parser.parse("D:\\Temp\\PCORDBMS\\"+tableName+".xml");
    Document doc = parser.getDocument();
    NodeList nodes = doc.getElementsByTagName("Account");
    for(int i=0;i<nodes.getLength();i++) {
    Node fc=nodes.item(i).getFirstChild();
    System.out.println(fc.getNodeValue());
    I think, since fc node is of the type Element - getNodeValue() is not returning the value. I also tried getting child nodes, getting attributes for fc & then getNodeValue.
    Am I missing something? Appreciate your help.
    Thanks,
    Niranjan

    Hi Niranjan,
    I used the JAXP DocumentBuilder and DocumentBuilderFactory classes. I use JSE 5.
    Here's the complete code that works for me:
    package com.trfsol.domtester;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class DomTester {
         * @param args
         public static void main(String[] args) {
              String filename = "C:\\Java workspaces\\Eclipse\\Workspace\\Test\\test.xml";
              try {
                   // Parse XML file
                   DocumentBuilderFactory factory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder parser = factory.newDocumentBuilder();
                   Document document = parser.parse(filename);
                   // Get all "Account" nodes
                   NodeList accountNodes = document.getElementsByTagName("Account");
                   // Iterate over nodes
                   for (int index = 0; index < accountNodes.getLength(); index ++) {
                        NodeList childNodes = accountNodes.item(index).getChildNodes();
                        for (int subIndex = 0; subIndex < childNodes.getLength(); subIndex ++) {
                             Node childNode = childNodes.item(subIndex);
                             System.out.println(childNode.getTextContent());
              catch (Exception e) {
                   System.err.println("Exception: " + e.getMessage());
    Regards, Ronald

  • Retrieving values from Database in Excel Task Pane App

    So far,
    I created a website with a database on Azure, I then published my App to Azure. My problem is that I'm not sure how I retrieve values from the database (in SQL: SELECT * FROM EXAMPLE_TABLE WHERE date = str). If someone could provide me with sample code,
    that would be amazing! :D
    It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website, once a day.
    Thank you!

    Hi,
    >> My problem is that I'm not sure how I retrieve values from the database
    You can use jquery ajax call to call your webserivce or REST API, which will query the database and return a json result.
    Sample:
    Apps for Office: Create a web service using the ASP.NET Web API
    >> It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website
    For the database sync-up question, I suggest you posting them on the forums like SQL Server Forum.
    Thanks for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to retrieve data from domain(Value Range)  of the table

    hi
    how to retrieve data from domain(Value Range)  of the table
    thanks

    Hello,
    You can try using the FM: DOMAIN_VALUE_GET TB_DOMAINVALUES_GET.
    BR,
    Suhas
    Edited by: Suhas Saha on Mar 24, 2009 10:08 AM

  • Retrieving values from a table

    Hi all,
    I need to retrieve values from CSKS-KOSTL for values containing the pattern entered by the user. For example, if the user enters 1, need to retrieve all the KOSTL values starting with 1. But when i write a SELECT statement mentioning where kostl in '1', it is ignoring all the values like (0000001, 00001034, 0012334, and others). Only values starting with 1 is only retrieved as this is a character field and due to conversion routine, zeroes are prefixed while storing in the database.
    Could any one let me know how to retrieve the values from the database in this situation?

    If you want to use IN operator in your where clause then you should define a range variable(R_KOSTL) which refers to CSKS=KOSTL and populate the range as below
    R_KOSTL-SIGN = 'I'.
    R_KOSTL-OPTION = 'CP'.
    R_KOSTL-LOW = '1*'.
    APPEND R_KOSTL.
    and then write your select statement as .... WHERE kostl IN r_kostl.
    The approach suggested by Amit should also work fine.
    Thanks
    Kiran

  • How to get Value of tree node without Reload Page

    hi,
    i worked with apex 4.2 and i created Tree and tabular form to retrieve the date according the value of tree select node the code of tree something like this
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "ENAME" as title,
    null as icon,
    "EMPNO" as value,
    null as tooltip,
    'f?p=36648:34:5234984107903::::P40_SELECTED_NODE:'||empno as link
    from "DEPT"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME
    and i put Selected Node Page Item: P40_SELECTED_NODE . the tree worked good and retrieve the data into tabular form according to tree node value
    my Question :
    1- i want to retrieve the data without submit the page where each time i select value from tree make page reload to update the tabular form with new value ,there is any way to pass the value of tree node to P40_SELECTED_NODE item and refresh tabular form without page reload .
    2- i want when selected from tree run page process according to value of tree node i tray to create Dynamic action with *(jquery selector : div.tree li>a)* but the Value of node incorrect.
    Regards
    Ahmed;

    look at this link
    Re: How to get Value of tree node without Reload Page ..!

  • Retrieve values from a HTML table !!!

    Hi.
    How can i retrieve values from a HTML table using javascript ?
    I´m trying to use the command "document.getElementsByTagName" without success.
    Thanks in advance.
    Eduardo

    Hi, Deepu.
    I´m still with trouble in retrieving the value in HTML.
    In debug the C_CELL_ID seems to be correctly updated but
    when using the command "document.getElementById" the value is always "null".
    I implemented in the method DATA_CELL the code :
      if i_x = 3 and i_y = 2.
      C_CELL_ID             = 'zs'.
      C_CELL_CONTENT = 10. 
      endif.
    And in HTML :
    var ztest = document.getElementById('zs');
    alert(ztest);
    Could you help me please.
    Many regards
    Eduardo S.
    Message was edited by: Eduardo   Silberberg

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

Maybe you are looking for

  • Importing partitioned table data into non-partitioned table

    Hi Friends, SOURCE SERVER OS:Linux Database Version:10.2.0.2.0 i have exported one partition of my partitioned table like below.. expdp system/manager DIRECTORY=DIR4 DUMPFILE=mapping.dmp LOGFILE=mapping_exp.log TABLES=MAPPING.MAPPING:DATASET_NAPTARGE

  • Bug discovered in iphoto 6 after purchasing a book

    Iphoto puts a book thing you can click on, on the right side of the screen after organizing photos and ordering a book. You can click on the book and then at the bottom click on the >> and select play. After a few seconds of music, iphoto locks up th

  • Which version macbook pro is this? and how much ram?

    Hi Everybody! I just bought this 2.4ghz core 2 duo macbook pro 2nd hand:-) It's probably the mid 2007 version. It's annonced with a max RAM upgrade of 3 gb, but it's to cheap to buy 4gb (2x2)!! How does it work? Does OSX used the last gig of ram from

  • Where can i find an oracle CLIENT for win98??

    I need an oracle client for win98 to access a 9i database, where can i find it? Best Regards Erik Rangel de Oliveira

  • Dynpro application: how to perform some  code when user click window close

    Hello, I'm developing dynpro application. This application needs to perform some code when exiting. I can do that with MODULE xxxxx AT EXIT-COMMAND. But this code can't be performed when user of application click on button closing window (classic R/3