Get item out of list

help!
my list has 3 lines
a name
a number1
a number2
i'm trying to setup where i can have number1 devided by number2
then print out the results
however i'm having trouble trying to index so that i can specify to location of number1 and number2
please help!
i've been trying for hours!

here's the code partially
public static void main(String args[]) throws IOException
        String s1 = null;
        String s2 = null;
        String s3 = null;
          BufferedReader inFile1;
          BufferedReader inFile2;
          BufferedReader inFile3;
          BufferedReader in;
          in = new BufferedReader(new InputStreamReader(System.in));
          inFile1 = new BufferedReader(new FileReader("list1.dat"));
          inFile2 = new BufferedReader(new FileReader("list2.dat"));
          inFile3 = new BufferedReader(new FileReader("list3.dat"));
          s1 = inFile1.readLine();
          s2 = inFile2.readLine();
          s3 = inFile3.readLine();
       System.out.println(s1);
          for(String z1 = inFile1.readLine(); z1 != null; z1 = inFile1.readLine())
            System.out.println(z1);
          System.out.println(s2);
          for(String z2 = inFile2.readLine(); z2 != null; z2 = inFile2.readLine())
            System.out.println(z2);
        System.out.println(s3);
          for(String z3 = inFile3.readLine(); z3 != null; z3 = inFile3.readLine())
            System.out.println(z3);
        String s = s1.substring(s1.indexOf(" ") + 1);
          System.out.println(s);
          //trying to go to line 2 not position 2 after the space
        System.out.println("---------------");
   

Similar Messages

  • Get Items from limited list by providing username and password - C#

    I'm using the code at the following link in order to get items from SharePoint list,
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.getitems.aspx
    I have a SharePoint list that limited to certain users.
    How can I provide by this code (or else) a username and password and log in as a different user who has access to this SharePoint list and get its items?
    Thanks!

    Sorry, previous post didn't see you were using client object model.
    Service.Credentials = (create new credentials passing username and password)
    ICredentials credentials = new NetworkCredential("Joe",SecurelyStoredPassword,"mydomain");
                math.Credentials = credentials
    Thanks!
    Actually, my full question already posted here:
    http:  //sharepoint.stackexchange.com/questions/84917/c-why-impersonation-is-expired-while-clientcontext-executequery-is-performe
    but I was unable to post it here as a new user (images, links, lenght ...) even the link above I was need to insert spaces after "http:" to be able to post it.
    Anyway, I don't know "client object model." am I using it?
    You mentioned "Service.Credentials", What do you mean "Service"?

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • Getting items out of arrayList

    Hi everyone
    I have the following scenario:
    Have two java class files which gets used to extract data from database and a jsp which display data.
    I get the data out of the database, but my problem is displaying it correctly using the jsp which uses JSTL.
    The ContactsData.class file extracts the data out of the database and puts it in the Contacts.class class which then gets written to an arraylist which stores the Contacts.class and then returns the ArrayList to the requester.
    Here is the code, can someone please help me to manipulate the arraylist to display the right info.
    Contacts.class which holds the contacts.
    package contacts;
    import java.io.Serializable;
    import java.util.*;
    public class Contacts implements Serializable
         //String varialbes to store the details about the contact
         private String contactName,company, workNumber, cellNumber, faxNumber, email,country;
         //contacts constructor
         public Contacts()
         //method to set the company
         public void setCompany(String company)
              this.company = company;
         //method to set the Contact name
         public void setContactName(String contactName)
              this.contactName = contactName;
         //method to set the work teletphone number
         public void setWorkNumber(String workNumber)
              this.workNumber = workNumber;
         //method to set the cellphone number
         public void setCellNumber(String cellNumber)
              this.cellNumber = cellNumber;
         //method to set the fax number
         public void setFaxNumber(String faxNumber)
              this.faxNumber = faxNumber;
         //method to set the email
         public void setEmail(String email)
              this.email = email;
         //method to set the country
         public void setCountry(String country)
              this.country = country;
         //method to get the company
         public String getCompany()
              return company;
         //method to get the contact name
         public String getContactName()
              return contactName;
         //method to get the work telephone number
         public String getWorkNumber()
              return workNumber;
         //method to get the cellphone number
         public String getCellNumber()
              return cellNumber;
         //method to get the fax number
         public String getFaxNumber()
              return faxNumber;
         //method to get the email
         public String getEmail()
              return email;
         //method to get the country
         public String getCountry()
              return country;
    }piece of the contactsData.class class which retrieves the data out of the database and stores it in Contacts.class class and then store the Contacts class in the arrayList which gets returned to the requester.
         public ArrayList getContactList()
              //arrayList to hold the contacts
              contactList = new ArrayList<Contacts>();
              try
                   ResultSet rs = stmt.executeQuery("SELECT * FROM Contacts");     //selecting from the database
                   while(rs.next())
                        //creating contacts object
                        contact = new Contacts();
                        //adding details to the Contacts object
                        contact.setContactName(rs.getString(1));
                        contact.setCompany(rs.getString(2));
                        contact.setWorkNumber(rs.getString(3));
                        contact.setCellNumber(rs.getString(4));
                        contact.setFaxNumber(rs.getString(5));
                        contact.setEmail(rs.getString(6));
                        contact.setCountry(rs.getString(7));
                        //adding Contacts object to the Arraylist
                        contactList.add(contact);
              catch(SQLException se)
                   System.out.println("Could not retrieve contacts");
              return contactList;     //returning the arraylist
         }The jsp that need to display the contacts within the arraylist, which I don't get right.
    <?xml version="1.0"?>
    <%@ page import="contacts.Contacts"%>
    <%@ page import="java.util.*"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <jsp:useBean id = "contactsData" scope = "page" class ="contacts.ContactsData"/>
    <html>
         <head>
              <title>Contact List</title>
              <meta http-equiv="cache-control" content="max-age=0, must-revalidate, no-cache, no-store, private">
              <meta http-equiv="expires" content="-1">
              <meta http-equiv="pragma" content="no-cache">
              <script language=JavaScript>
              <!--
                   function clicked(clickedValue)
                        if(clickedValue == "add")
                             window.location = "AddContact.jsp";
              -->
              </script>
         </head>
              <body>
              <h1>Contacts</h1>
              <form>
                   <table cellpadding="5">
                   <c:forEach var="contacts" items="${contactsData.contactList}"> //getting the list from the ContactData class
                        <tr>
                        <td><input type="radio" name="deleteContact" value="${contacts.company}"></td> //want to display the company name from the contacts
                        </tr>
                   </c:forEach>
                   </table>
                        <br>
                        <input type="button" value="Add" onClick="clicked('add')"/>
                        <input type="submit" value="Delete" onClick="clicked('del')"/>
              </form>
         </body>
    </html>

    HI, we need to specify the scope we used,In my Ex its request
    so my forEach tag ..
    <c:forEach var="stud" items="${requestScope.studli}">
    <c:out value="${stud.SID}"></c:out>
    <c:out value="${stud.SNAME}"></c:out>
    </c:forEach>

  • How can i get more than 1000 items in Custom List Displaying Items?

    http://.....sites/_vti_bin/listdata.svc/AddressBook(List) allows 1000 items Only my AddressBook List, but i have more than 1000 items in my AddressBook list. I want to get items
    from AddressBook list and bind in another place using Autocomplete method like this.
    =======>>>>listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook.
    and my coding in camel like below
    protected void btnpopulatedetails_Click(object sender, EventArgs e)
    SPSite objSite = SPContext.Current.Site;
    SPWeb objWeb = objSite.OpenWeb();
    objWeb.AllowUnsafeUpdates = true;
    SPList list = objWeb.Lists["Address Book"];
    SPQuery query = new SPQuery();
    query.QueryThrottleMode = SPQueryThrottleOption.Override;
    query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + txtcustomer.Value + "</Value></Eq></Where>";
    query.RowLimit = 500;
    SPListItemCollection items = list.GetItems(query);
    function fnCustomerSearchBind() {
    if ($("input[id$='txtcustomer']").length != 0) {
    var collcustomer = searchCustomers('', urlTo, fieldto);
    $("input[id$='txtcustomer']").autocomplete({
    source: collcustomer,
    //maxLength:10,
    select: function (event, ui) {
    //debugger;
    event.preventDefault();
    $("input[id$='txtcustomer']").val(ui.item.value);
    $("input[id$='btnpopulatedetails']").click();
    return false;
    minLength: 0,
    function searchCustomers(value, listurl, fieldto) {
    var collcus = new Array();
    var custresults;
    var url =listurl + "?$filter=startswith('" + fieldto + "','" + value + "')";
    //debugger;
    $.ajax({
    cache: true,
    type: "GET",
    async:false,
    dataType: "json",
    url: url,
    success: function (data) {
    custresults = data.d.results;
    //alert(listurl);
    // alert(data.d.results);
    for (var x = 0; x < custresults.length; x++) {
    //alert(custresults[x]['To']);
    collcustList.push(custresults[x]['To']);
    //debugger;
    //debugger;
    return collcustList;
    In my research listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook has 1000 items in 1st Page by default, So how to change 1st Page by default to All Pages through
    code. I think you understand my environment by look above coding, if you don't I am using office 365 sandbox solution. One more thing i know through my research Pages can be change by using Ado.Net Data Service, i tried this one but this one support windows
    server 2008 r2 only but i am using Windows Server 2012 r2. Please help me if you know the answer.

    Hi,
    Here is a blog would be helpful:
    ADO.NET Data Services returns 1000 items
    https://gilleslauwers.wordpress.com/2010/12/08/ado-net-data-services-returns-1000-items/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • The workflow could not check out the list item.

    Hi Guys,
    I have a workflow enabled on document library and it needs to started manually.
    Whenever user starts workflow manually, gets following error:
    "the workflow could not check out the list item. Make sure the list item is not checked out." list item is not checked out & this workflow was working smoothly earlier.
    OutCome: The workflow operation failed because the workflow lookup found no matching item.
    I have gone through below links:
    https://christopherclementen.wordpress.com/2014/05/23/oob-approval-workflow-error/
    https://social.msdn.microsoft.com/Forums/office/en-US/f673d0f6-92eb-4057-95ff-ed3cb7790360/the-workflow-operation-failed-because-the-workflow-lookup-found-no-matching-item?forum=sharepointcustomizationprevious
    Any clue on this?
    Thanks, Nilesh

    maybe check out for editing documents setting is turned on so wokrflow needs doc to ce cheked out before proceding and user might not have permission to do that.
    please refer below link:
    http://sharepoint.stackexchange.com/questions/32399/workflow-error-the-workflow-could-not-update-the-item-possibly-because-one-or
    http://community.office365.com/en-us/f/154/t/243062.aspx
    http://stackoverflow.com/questions/1272957/document-checked-out-in-sharepoint-when-workflow-starts
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • How to print out document list items (and with all comments!)

    Hi all,
    I am wondering how to get a good printout of document lists.
    In a web application I have some document list items and the users are adding many comments in it, so that the document list item doenst show all in the initial view, but scroll buttons to navigate up and down.
    I was surprised to read that the standard print functionality doesnt support document items.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/68ce8391886e47e10000000a422035/content.htm
    How can I print out a list of all document list items with all comments?
    Ist there a workaround?
    thanks in advance for sharing your experiences, br, Michael

    Thanks guys for trying to help me...
    Gabriel, I not wanna do "a lot of trix" to get this out of iCal when it should be solved by iCal (from my point of view).
    Dancing Brook, Yes I hope we will see that in the future. I am convinced that there is many of us out there who want to see that function in iCal, even if they not really missed it yet.
    I have already sent a request to iCal feedback (hope they noted). Maybe they will if we are many doing so...

  • Termstore changes are not getting reflected in the list items in SharePoint 2010 farm environment

    Hi,
    I had created managed metadata with termstores from central admin. Then I had created one list in which added a column of type managed metadata using the managed metadata which I had created. And also added few list items to this list.
    The problem is that after updating a termstore the changes are not reflecting in the list items which were added before the update.
    I have referred the following links:
    http://www.paulgrimley.com/2011/02/managed-metadata-changes-not-applied-to.html
    http://davidfrette.wordpress.com/2010/05/26/taxonomy-update-scheduler%C2%A0timer%C2%A0job/
    According to the links we need to run Taxonomy Update Scheduler on the server for updated termstore to get reflected. After running
    this scheduler on development environment changes are getting reflected but not working on the production environment.
    Kindly help!
    Regards, Shruti

    You should check the obvious.  You made the change in dev, but did you make the change in production too?  And, is the term you updated, actually the one that you are looking at in the list item?
    There is not much, if anything, that can go wrong with that timer job. so I'd guess that the term you are looking at is not the one you think you are updating.
    If you have double checked everything (the term is is in fact the same term id), then you may have something erroring in the update process.  In this case, you should check the ULS logs for any errors.
    Chris
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • I get Singed out of eBay when I bid and when I go to a other item.. I can be on "my eBay" and just click on any other item and boom I'm on a page that says I need to sing in.

    I get Singed out of eBay.com when I bid and when I go to a other item.. I can be on "my eBay" and just click on any other item and boom I'm on a page that says I need to sing in..if I click back it brings me back to "my eBay" and I am still singed in but if I was not to click back and I click on sing in I have a page saying I singed out.. sooo I do the obvious and clean out the cache and so on, disable all and then just some addons and try again and just to be sure I opened IE9 for the first time ever on this year old pc and it works fine so I know the problem is with FF4 but I'm out of ideas so what are my options? I dont wanna have to use IE9 but I need basic stability!!
    I give a A- on the rest of FF4 & that makes this even more annoying because I want to use FF4!! I make my butta on eBay.com so I'm on all day buying & selling so I really need a quick fix or I'll have to make a quick move to Opera or IE9..PLEASE DON'T LET THAT HAPPEN...LOL!!
    Please help me on this one & Thank you in advance to anyone who helps me I appreciate it allot!

    The Get Info. fields show up gray if the files is locked and iTunes knows it can't edit the file. Make sure the files are not marked as read only and, if necessary grant both your account and system full access to all files and subfolders of your media folder.
    You can set Part of a Compilation for multiple tracks from the Options tab of Get Info.
    See Grouping tracks into albums for tips on getting iTunes organized.
    tt2

  • How: can i get a specificated item from a list with more than 100.000 items

    Hi,
    i have a very large list and i got always an exception that the list has more than 5000 items and cant query!! But in the default list view i can see, order and filter all items. So how can i do this by c#?

    Hi,
    According to your description, my understanding is that you want to get a specific list item form a list which with more than 100000 items using C#.
    I suggest you can use CAML Query with some condition and set Row Limit to specify the number of items to return.
    Here is a detailed code demo for your reference:
    Client Object Model Access Large Lists/Overcome ListView Threshold while accessing large list
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Since I upgraded my Ipad2 with IOS6, i keep getting kicked out of Safari after I am in the middle of looking for something and on Ebay it continually kicks me back to the first item if I click to see a picture, say after I am 150 items down.  Even CNN too

    Since I upgraded my Ipad2 to IOS6, I keep getting kicked out of Safari after I am in the middle of searching for something.  Also, Ebay kicks me back to first item if I click on an item, say number 153 or 642!  Very annoying.  Even CNN kicked me out back to Ipad home screen last night!  How do I make it stop???

    My question is this:
    What is the best way of getting the pictures out of the iPhoto Library? I
    Select the photos you want out and export them as JPGEs - kind = current for the current edited version - kind = original for the original
    f I get access to the original folders within the library by right-clicking any photo and then being able to browse inside the library, am I going to have any problems if I copy or move those original pictures directly to a folder outside of the iPhoto Library?
    Copying photos out will not be a problem if you make no errors - for me that is not a good bet - it is best to stay out of yoru iPhoto library
    Would it be better to export the pictures?
    Yes
    Does exporting using "current" under "Kind" give you the original more safely?
    No - it gives you the current version which may be the original if no changes have been made or will be the current edited version if edits ahve been made
    Also, any suggestions on how to best have photos OUTSIDE of an iPhoto library organized so that iPhoto can reference them, but your backup is also organized?
    In the iPhoto preferences un check the advanced preference to "copy imported items to the iPhoto library"
    HOWEVER - this is not recommended - it makes importing more complicated, deleting more complicated and makes replacing a hard drive or going to a new computer much more difficult - and it puts you totally in charge of your original photos - being sure that they are there and do not get moved
    I'd like to have my photos organized by date in the backup as well, so that I don't have to backup all my pictures every time I add new ones, just add the latest to the backup drive.
    Finally, any suggestions on what to do with pictures that you scan so that they appear by the date they were taken as opposed to the date they were scanned? Is there a way to modify the date of the photo info?
    Select the photos in iPhoto and use the batch change command under the photos menu - the tiem and date option
    LN

  • I have a device that shows up in my airplay device list on my iMac, and my phone.  This device does not exist.  How do I get it out of the list? I would like to drop it before I add new airplay devices to my network.

    I have a device that shows up in my airplay device list in iTunes, and on my iPhone that does not exist.  How do I delete it? I have OS X 10.10.1 on my iMac, and iOS 8.1.2 on my iPhone 5.  I would like to get it out before I add new airplay devices to my network.

    I called Apple tech support.  The device turns out to be a WiFi extender.  I never would have guessed that the extender would show up on the list since I wouldn't think of it as an airplay device, and in the list, it shows a little speaker icon.  In the process of talking with Apple, I gained a greater understanding of how airplay works. 
    It turns out that there is no stored list of devices in a file on the mac, or anywhere else.  I have seen a lot of traffic on the web from people trying to modify this list, but there isn't one.  iTunes, and other devices simply poll the network for airplay devices from time to time.
    Have a very happy holiday!
    I would like to get rid of "just give me the aster, and stop wasting my time", and replace it with my name.  The Apple tech support guy never saw that before.  Just my luck.

  • In my library, under the Artist column only...items are not listed in alpha order.  How can I get that to happen?

    In my library, under the Artist column only...items are not listed in alpha order.  How can I get that to happen?

    Same deal as your other thread but with Artist/Sort Artist:
    https://discussions.apple.com/message/25561674#25561674
    For more info. on how iTunes organizes things see Grouping tracks into albums.
    tt2

  • Camel Query : Calender list : Get Items agains given date that must be greater than and eqaul to start date and greater less than or equal to end date ?

    Camel Query : Calender list : Get Items agains given date that must be greater than and eqaul to start date and greater less than or equal to end date ?
    A Snap of Employee holiday list
    Case : Anne juul Sondergaar is on leave from 05-06-2014 to 07-06-2014
    I need a query to check wheither Anne juul is on leave at 06-06-2014 ????
    I am using this query that return nothing
    SPQueryquery =
    newSPQuery();
                                query.Query =
    @"<Where>
    <And>
    <And>
    <Leq>
    <FieldRef Name='Til' />
    <Value Type='DateTime'>"
    + WorkingStartDate.ToString("yyyy-MM-dd")
    + @"</Value>
    </Leq>
    <Geq>
    <FieldRef Name='Fra' />
    <Value Type='DateTime'>"
    + WorkingStartDate.ToString("yyyy-MM-dd")
    + @"</Value>
    </Geq>
    </And>
    <Eq>
    <FieldRef Name='Medarbejdere' />
    <Value Type='Lookup'>"
    + EmployeeName.Trim() +
    @"</Value>
    </Eq>
    </And>
    </Where>"
                                query.ViewFields =
    " <FieldRef Name='ID' />";
    Ahsan Ranjha

    Hello,
    Download CAML query builder from below location and use it to build your query:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f7b36ebc-6142-404a-8b04-9c87de272871/where-can-i-download-the-u2u-caml-query-builder-for-sharepoint-2010may-i-know-the-exact-link?forum=sharepointgeneralprevious
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to get and display only some items out of an xml source

    hi everybody,<br /><br />i have a designer-pdf based on a xsd. from within this pdf i call a second one and pass global variables to it. i want to use these vars to get specifics items out of an xml source. example:<br /><br />say that my xml is build like this:<br /><br /><form(min1-max1)><br /> <subform(min1-max unbounded)/><br /> <subform(min1-max unbounded)/><br /> <subform(min1-max unbounded)/><br /> <subform(min1-max unbounded)/><br /> <subform(min1-max unbounded)/><br /></form><br /><br />and i want just to pic up the subform element with index '2'. is there a way to do that?<br /><br />thanks,<br /><br />valerio

    If you've got a chunk of XML in a string, you can read from it using XPath notation.  Here's an example.  Hope it helps:
    var strXML = "JaredLangdonFredFlintstone";
    var oXML = XMLData.parse(strXML, false);
    var oFirstLName = XMLData.applyXPath(oXML,"//MyRoot/Person[1]/LName");
    var oSecondLName = XMLData.applyXPath(oXML,"//MyRoot/Person[2]/LName");
    xfa.host.messageBox("First LName is: " + oFirstLName.value + "\nSecond LName is: " + oSecondLName.value);
    Jared Langdon
    http://www.jlangdon.ca

Maybe you are looking for

  • Help, my iPod doesn't sync all my music

    Ok, I transfered my music from my old pc to my new mac, via my ipod. One problem when I went to sync my music back onto my ipod not all the music would sync. This message keeps appearing, Some of the items in the itunes library were not copied to the

  • USB Device Not Recognized issues

    I have a Qosmio X505-Q860 and I've been getting the 'USB Device Not Recognized' error constantly for several months. I've never plugged anything into any of my USBs and the error is now causing a nice Blue Screen (which happened about 4 times yesterd

  • My inbox says its receiving 200 mails but only 3 in the inbox, why is this? It also says its sending 3 when I am only sending 1.

    When using mail the system shows information that it has received mail (today it said 300) but only 2 or 3 come up in the inbox. It never used to do this. Why? Similarly when sending mail it says sending 3 of 3 when I am only sending 1 email.

  • [Solved]logroate duplicate entry error

    Every night the cron daemon ones and one of its tasks is to run logroate (by default). I keep getting these errors in my inbox. error: samba.pacsave:1 duplicate log entry for /var/log/samba/log.0.0.0.0 I've tried deleting all the samba log files and

  • Module component based on pl/sql procedure....

    Hi everyone, could anybody help me with step by step instructions on how to generate module component which is based on PL/SQL procedure and how the procedure must look like. Well, I make it in Forms Builder but I want to build it in oracle designer