Using findRowsWithColumnValues cant get id from xml ?

function displayInformation(appels){
var idInformation =
dsHotelsxml.findRowsWithColumnValues({postcode: appels}, true);
if (idInformation){
var hotelNaam = idInformation.naam;
varhotelId = idInformation.id;
alert(hotelId);
That is the function im using, showinformation(valuehere);
now i want to extract the ID from:
<hotel id="46">
<option></option>
<option></option>
<option></option>
<option></option>
<option></option>
</hotel>
Am i using the wrong function for it? or am i missing
something. Becouse using @id will not work.

quote:
Originally posted by:
programalicious
Try adding quotes to your statement. Ex:
dsHotelsxml.findRowsWithColumnValues({
"postcode":
"appels"}, true);
Hope this helps!
~ Addam Driver ~
its not about that part, that part is corretly coded; and it
works good, its about gettin the data the id out of the <hotel
id="46"> with findRowsWithColumnValues.

Similar Messages

  • Using java to get stuff from xml

    Hi,
    i need to parse stuff from XML file into java from different nodes and attributes. I thought of using the DOM. can you all suggest any sites that have examples to that or give me some suggestions on how to code it?
    Thanks!

    http://java.sun.com/webservices/docs/1.0/tutorial/index.html

  • Cant get data from text file to print into Jtable

    Instead of doing JDBC i am using text file as database. I cant get data from text file to print into JTable when i click find button. Goal is to find a record and print that record only, but for now i am trying to print all the records. Once i get that i will change my code to search desired record and print it. when i click the find button nothing happens. Can you please take a look at my code, dbTest() method. thanks.
    void dbTest() {
    DataInputStream dis = null;
    String dbRecord = null;
    String hold;
    try {
    File f = new File("customer.txt");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis);
    dis = new DataInputStream(bis);
    Vector dataVector = new Vector();
    Vector headVector = new Vector(2);
    Vector row = new Vector();
    // read the record of the text database
    while ( (dbRecord = dis.readLine()) != null) {
    StringTokenizer st = new StringTokenizer(dbRecord, ",");
    while (st.hasMoreTokens()) {
    row.addElement(st.nextToken());
    System.out.println("Inside nested loop: " + row);
    System.out.println("inside loop: " + row);
    dataVector.addElement(row);
    System.out.println("outside loop: " + row);
    headVector.addElement("Title");
    headVector.addElement("Type");
    dataTable = new JTable(dataVector, headVector);
    dataTableScrollPane.setViewportView(dataTable);
    } catch (IOException e) {
    // catch io errors from FileInputStream or readLine()
    System.out.println("Uh oh, got an IOException error!" + e.getMessage());
    } finally {
    // if the file opened okay, make sure we close it
    if (dis != null) {
    try {
    dis.close();
    } catch (IOException ioe) {
    } // end if
    } // end finally
    } // end dbTest

    Here's a thread that loads a text file into a JTable:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=315172
    And my reply in this thread shows how you can use a text file as a simple database:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=342380

  • RFC problem: could not get functionname from XML requst (sic)

    I'm developing an interface that attempts to call a receiver RFC on an SAP 4.6c system.  It's a very small simple interface, and it's all working until it tries to call the RFC.  The error is
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    I've created an RFC channel, which is green in the adapter monitoring.  The RFC imports without a problem, and appears in my interface mapping.  My mapping program converts to the RFC message type (as evidenced in sxmb_moni.  I have a receiver agreement referencing the interface mapping, which must be working as the mapping is called. 
    Could anyone point me to what else I could check?  I saw a post about the same error message, where the respondent found something in the logs which helped them  Could you expand on what you found, and in which log please?  Any pointers as to which logging options I could switch on and check would be gratefully received.
    Regards
    Alan Graham

    Thanks for the responses.
    I set up a communications channel of type RFC, which is
    showing green in the adapter monitor.  If I deliberately
    break it, eg by changing the password, the adapter shows
    as red in the monitor.  I assume therefore that the
    adaptor settings are correct.
    The XML going to the adapter looks correct AFAIK.  My problem is that I don't know enough about the requied XML to know if what I'm seeing in the logs is sufficient.  In SXMB_MONI, in the 'call adapter' section of a failed message, the outbound binding includes
    <SAP:ToInterfaceNamespace>urn:sap-com:document:sap:rfc:functions</SAP:ToInterfaceNamespace>/code]
    Also, the interface determination SOAP header, in the MAIN section includes
    [code]<SAP:Receiver>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>D04</SAP:Service>
      <SAP:Interface namespace="urn:sap-com:document:sap:rfc:functions">Z_MPU_3PSCE_FREIGHT_UPLOAD</SAP:Interface>
      </SAP:Receiver>
    These are the correct values for the RFC name and the namespace, AFAIK.
    I'm using an interface mapping (which uses and ABAP class as the mapping program) which references the interface of the RFC.  The logs tell me this works, ie, the class is called and the resulting XML appears in the payload of the response.
    Alan

  • Trying to use FTP to get data from a different server

    Hi Friends,
        I have to use FTP to get data from a different server and upload it on SAP server. Now my problem is when I m trying to do ftp through command line it brings the file but with no data.
       Through ABAP program nothing is happening.
    Here's my code--
      V_PASSWORD = 'test@123'.
      V_PWD_LEN = STRLEN( V_PASSWORD ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = V_PASSWORD
          SOURCELEN   = V_PWD_LEN
          KEY         = CS_KEY_500098
        IMPORTING
          DESTINATION = V_PASSWORD.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          USER            = 'test'
          PASSWORD        = V_PASSWORD
          HOST            = '176.0.1.6'
          RFC_DESTINATION = 'SAPFTPA'
        IMPORTING
          HANDLE          = MI_HANDLE
        EXCEPTIONS
          NOT_CONNECTED   = 1
          OTHERS          = 2.
      CHECK SY-SUBRC = 0.
      cmd = 'lcd d:\ftp'. .
      PERFORM FTP_COMMAND USING CMD.
      CMD = 'asc'.
      PERFORM FTP_COMMAND USING CMD.
      CONCATENATE 'dir' 'ftpt*' INTO CMD SEPARATED BY SPACE.
      PERFORM FTP_COMMAND USING CMD.
      cmd = 'ls'.
    concatenate 'ls' INTO CMD SEPARATED BY SPACE.
      PERFORM FTP_COMMAND USING CMD.
      cmd = 'mget trial.txt'.
    CONCATENATE 'mget' 'trial.txt' INTO CMD SEPARATED BY SPACE.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          HANDLE        = MI_HANDLE
          COMMAND       = CMD
        TABLES
          DATA          = MTAB_DATA1
        EXCEPTIONS
          TCPIP_ERROR   = 1
          COMMAND_ERROR = 2
          DATA_ERROR    = 3
          OTHERS        = 4.
      IF SY-SUBRC = 0.
        LOOP AT MTAB_DATA1.
          WRITE: / MTAB_DATA1.
        ENDLOOP.
      ELSE.
        CONCATENATE 'Error in FTP Command while executing' CMD INTO ERROR SEPARATED BY SPACE.
        WRITE: / ERROR.
      ENDIF.

    Hi
    try this.....in one of my reqt, i done this successfully....
    FORM FTPCON.
    FTP-------------------------------------------------------*
      CLEAR DSTLEN.
      SET EXTENDED CHECK OFF.
      DSTLEN = STRLEN( S_PWD ).     -
    >  (S_PWD (password) is a selection screen field )                  
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = S_PWD
          SOURCELEN   = DSTLEN
          KEY         = KEY
        IMPORTING
          DESTINATION = S_PWD.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          USER            = P_USER                   -
    > Username
          PASSWORD        = S_PWD             -
    > password
          HOST            = P_HOST                  -
    > Host
          RFC_DESTINATION = P_DEST         -
    > Destination
        IMPORTING
          HANDLE          = HDL
        EXCEPTIONS
          NOT_CONNECTED   = 1
          OTHERS          = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          HANDLE        = HDL
          COMMAND       = 'set passive on'
        TABLES
          DATA          = RESULT
        EXCEPTIONS
          TCPIP_ERROR   = 1
          COMMAND_ERROR = 2
          DATA_ERROR    = 3.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          HANDLE         = HDL
          FNAME          = G_FCNAME
          CHARACTER_MODE = 'X'
        TABLES
          TEXT           = T_FILE1
        EXCEPTIONS
          TCPIP_ERROR    = 1
          COMMAND_ERROR  = 2
          DATA_ERROR     = 3
          OTHERS         = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          HANDLE         = HDL
          FNAME          = G_FCNAME1
          CHARACTER_MODE = 'X'
        TABLES
          TEXT           = T_FILE2
        EXCEPTIONS
          TCPIP_ERROR    = 1
          COMMAND_ERROR  = 2
          DATA_ERROR     = 3
          OTHERS         = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          HANDLE = HDL.
      CALL FUNCTION 'RFC_CONNECTION_CLOSE'
          EXPORTING
            DESTINATION          = P_DEST
          EXCEPTIONS
            DESTINATION_NOT_OPEN = 1
            OTHERS               = 2.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.                    " FTPCON
    Hope it helps.....

  • Switching from Iphone 4 to Android, now i cant get txts from other Iphone users... any suggestions?

    switching from Iphone 4 to Android, now i cant get txts from other Iphone users... any suggestions?

    http://support.apple.com/kb/TS5185

  • Anyone knows about using java to get data from MS Access database.

    hi there
    anyone knows about using java to get data from MS Access database? thank you

    there is a list of jdbc drivers at:
    http://industry.java.sun.com/products/jdbc/drivers
    they have several ms access drivers listed.
    also, you can use a jdbc-odbc bridge which allows you to use jdbc to connect to any odbc data source:
    http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html

  • Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone?

    Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone? I've restored my iPhone 4 thru iTunes and now trying to set it up using iCloud but it says 'no back ups available'.
    I was upgrading my OS system thru iTunes but the plug on my macbook came out and battery ran flat half way thru. This jammed my iPhone 4.
    I think it's to do with the OS system. That if i take it to the previous OS system it might work. But since i'm in phone set up mode i can't get into general setting to change it back.
    So can i set it up as a new phone and then use icloud to restore info? Or shld i set it up thru iTunes and then iCloud (but since it jammed half way thru upgrading and i've restored i don't think iTunes has any of my previous info)? Or is there something else i can do?

    No. You can set up as a new device or restore from iCloud or iTunes. It looks like you backed up with iTunes, so you can't restore with iCloud. To backup your device in iCloud, go to Settings > iCloud and activate it

  • I use OverDrive to get audiobooks from my library to listen on my ipod. Does not work since latest update of ipod. Converts the WMA and acts like it is putting it on the ipod but then it isn't there.

    I use OverDrive to get audiobooks from my library to listen on my ipod. Does not work since latest update of ipod. Converts the WMA and acts like it is putting it on the ipod but then it isn't there.

    Downgrading the iOS is not supported by Apple.Have yo tried:
    - Backing up and restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    - Go to the OverDrive support site

  • HT1296 I used sync to get notes from my i-pad to my computer. It apparently went to my windows 2007 but where do I find the notes on my computer?

    I used sync to get notes from my i-pad to my computer. It apparently went to my windows 2007 but where do I find the notes on my computer?

    Thank you.
    Your answer led me to the notes I was seeking.
    When I looked at the bottom of the left side in outlook I did not see any icon but I saw a little arrow.
    When I clicked on that it I was able to specifiy that I wanted an icon for notes.
    When I added the icon, I was able to click on the icon and find my notes.

  • Hello I'm upgrading my iPhone 4S tmw to a iPhone 5c , I also have a iPad which I've used iCloud to get pics from phone to iPad, obviously if I delete my phone pics there gonna go from iPad too. Any idea what I can do please?

    Hello I'm upgrading my iPhone 4S tmw to a iPhone 5c , I also have a iPad which I've used iCloud to get pics from phone to iPad, obviously if I delete my phone pics there gonna go from iPad too. Any idea what I can do please?

    In addition to the very sound and useful information posted by Lawrence Finch, there is also a way to save the photos from the photo stream to the camera roll on the iPad so that even if the photo stream is turned off, the photos will remain on the iPad.
    Launch the photos app and them open the Photo Stream album. Select every photo that you want to save by tapping on them, then tap in the action/sharing icon and select  - Save to Camera Roll.
    Having said that, the information that Lawrence shared with you is very important and the instructions in both articles are very useful. Make use of them.

  • How to get attribute from xml file

    I managed to grab all the info from xml, except the "url" attribute in <image type="poster" url="" size="mid" .../>. Any ideas?
    import java.io.*;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.net.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    public class XmlParser {
         ArrayList<Movie> myMovies;
         Document dom;
         public XmlParser(){
              //create a list to hold the movie objects
              myMovies = new ArrayList<Movie>();
         public void runExample(String adr, String tagName) {
              parseXmlFile(adr);
              parseDocument(tagName);
              printData();          
         private void parseXmlFile(String adr){
              //get the factory
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              try {               
                   //Using factory get an instance of document builder
                   DocumentBuilder db = dbf.newDocumentBuilder();
                   //parse using builder to get DOM representation of the XML file
                   URL xmlUrl = new URL(adr);
                   InputStream in = xmlUrl.openStream();
                   dom = db.parse(in);               
              }catch(ParserConfigurationException pce) {
                   pce.printStackTrace();
              }catch(SAXException se) {
                   se.printStackTrace();
              }catch(IOException ioe) {
                   ioe.printStackTrace();
         private void parseDocument(String tagName){
              //get the root elememt
              Element docEle = dom.getDocumentElement();
              //get a nodelist of <movie> elements
              NodeList nl = docEle.getElementsByTagName(tagName);
              if(nl != null && nl.getLength() > 0) {
                   for(int i = 0 ; i < nl.getLength();i++) {
                        //get the movie element
                        Element el = (Element)nl.item(i);
                        //get the Movie object
                        Movie mov = getMovie(el);
                        //add it to list
                        myMovies.add(mov);
          * I take an movie element and read the values in, create
          * an Movie object and return it
          * @param movE
          * @return
         private Movie getMovie(Element movE) {
              String title = getTextValue(movE, "original_name");
              String year = getTextValue(movE, "released");
              String imdbId = getTextValue(movE, "imdb_id");
              double score = getDoubleValue(movE, "score");
              String overview = getTextValue(movE, "overview");
              String poster = movE.getAttribute("url");
              Movie mov = new Movie(title, year, imdbId, score, overview, poster);
              return mov;
         private String getTextValue(Element ele, String tagName) {
              String textVal = null;
              NodeList nl = ele.getElementsByTagName(tagName);
              if(nl != null && nl.getLength() > 0) {
                   Element el = (Element)nl.item(0);
                   textVal = el.getFirstChild().getNodeValue();
              return textVal;
          * Calls getTextValue and returns a int value
          * @param ele
          * @param tagName
          * @return int
         private int getIntValue(Element ele, String tagName) {
              //in production application you would catch the exception
              return Integer.parseInt(getTextValue(ele, tagName));
          * Calls getTextValue and returns a double value
          * @param ele
          * @param tagName
          * @return double
         private double getDoubleValue(Element ele, String tagName) {
              return Double.parseDouble(getTextValue(ele, tagName));
          * Iterate through the list and print the
          * content to console
         private void printData(){
              System.out.println("Total Movies: " + myMovies.size());
              Iterator it = myMovies.iterator();
              while(it.hasNext()) {
                   System.out.println(it.next().toString());
         public static void main(String[] args){
              //create an instance
              XmlParser xp = new XmlParser();
              //call run example
              xp.runExample("http://api.themoviedb.org/2.1/Movie.search/en/xml/apikey/Fight+Club+1999", "movie");
    }Here is the example xml file I used
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
      <opensearch:Query searchTerms="Fight Club 1999"/>
      <opensearch:totalResults>1</opensearch:totalResults>
      <movies>
        <movie>
          <score>8.383284</score>
          <popularity>3</popularity>
          <translated>true</translated>
          <adult>false</adult>
          <language>en</language>
          <original_name>Fight Club</original_name>
          <name>Fight Club</name>
          <alternative_name>El Club de la Lucha</alternative_name>
          <type>movie</type>
          <id>550</id>
          <imdb_id>tt0137523</imdb_id>
          <url>http://www.themoviedb.org/movie/550</url>
          <votes>62</votes>
          <rating>8.4</rating>
          <certification></certification>
          <overview>A lonely, isolated thirty-something young professional seeks an escape from his mundane existence with the help of a devious soap salesman. They find their release from the prison of reality through underground fight clubs, where men can be what the world now denies them. Their boxing matches and harmless pranks soon lead to an out-of-control spiral towards oblivion.</overview>
          <released>1999-09-16</released>
          <images>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-original.jpg" size="original" width="1000" height="1500" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-mid.jpg" size="mid" width="500" height="750" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-cover.jpg" size="cover" width="185" height="278" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-thumb.jpg" size="thumb" width="92" height="138" id="4bc908ab017a3c57fe002f75"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-original.jpg" size="original" width="1280" height="720" id="4bc908ab017a3c57fe002f71"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-poster.jpg" size="poster" width="780" height="439" id="4bc908ab017a3c57fe002f71"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-thumb.jpg" size="thumb" width="300" height="169" id="4bc908ab017a3c57fe002f71"/>
          </images>
          <version>73</version>
          <last_modified_at>2010-09-11 14:33:06</last_modified_at>
        </movie>
      </movies>
    </OpenSearchDescription>

    pvujic wrote:
    Thanks, but how can I "fetch" the url from the image element?You've got to first get to the image element. But based on what you've posted though, with a little more coding, you should be able to succeed. Just give it a try! :)

  • Possible to use JavaScript to Import Data from XML file to pre-fill fields?

    Hi,
    I have a dynamic fill-in PDF that I want to "pre-fill" internally in my company before sending out to users who will change any pre-filled fields necessary and answer questions we did not already answer.
    We do not have LiveCycle Reader Extensions, but we can use Acrobat to import data from an XML document to pre-fill the named fields.  Is it possibly to do this task using folder-level Javascript or some other method?  I can look into this, and post my findings, but I'd like to know if it's possible or if I need to use a different programming language.

    Hi,
    I am afraid that solution was for a specific client and I can't share it. If I get a chance I will mock up an example, but this wont be for a while. From memory it was just a straight importData method. This would normally fail silently in a non-certified form, but when the form is digitally signed/certified, it works without a hitch.
    Good luck,
    Niall

  • I cant get video from my panasonic camcorder to imovie

    I recorded a man who spoke at my sons school for the teacher. i used a panasonic camcorder. i cant figure out how to get the video to imovie from the camera. i tried a usb cord but it didnt work. so i bought a FW cable and i still cant get it to work. i tried pc mode and playback mode. i looked in the menu i didnt see a dv out option. what should i do?
    thank you

    Hi
    NO CAMERA or A/D-box 
    Cable
    • Are You sure that You are using the FireWire Cable - USB-Cable will not work for miniDV tape Cameras
    FireWire - Sure not using the accompany USB-Cable but bought a 4-pin to 6-pin (or 9-pin) FW one ?
    • Test another FW-Cable very often the problem maker.
    Camera
    • Test Your Camera on another Mac so that DV-in still works OK
    • Toggle in iMovie pref. Play-back via Camera (on <-> off some times)
    • Some Cameras has a Menu where You must select DV-out to get it to work
    • Camera connected to "charger" (mains adaptor) - not just on battery
    • Camera set in Playback mode - NOT Recording mode
    Does Your Camera work on another Mac ?
    Sorry to say it is to easy to turn the 6-pin end of the FW-cable 180 deg wrong.
    This is lethal to the A/D-chip in the Camera = needs an expensive repair.
    (Hard to find out - else than import/export to another Mac ceased to work
    everything else is OK e.g. recording and playback to TV)
    A/D-box
    • Is the dip-switches set right ?
    • Set to same standard as recorded/editing e.g. NTSC 29.97fps or PAL 25fps
    • Try resetting it
    Connections
    • Daisy Chaining most often doesn’t work (some unique cases - it’s the only way that work (some Canon Cameras ?))
    Try to avoid connecting Camera <--> external HD <--> Mac but import directly to the Mac then move
    the Movie project to dedicated external hard disk.
    • FireWire-port - Can be re-setted by - Turn off Mac and disconnecting Mac from Mains/Power for 20-30 minutes
    External device’s (hard disk’s)
    • Should be FireWire as USB/USB2 performs badly and so does Airport or Net-work connected ones too.
    • MUST BE - Mac OS Extended formatted - UNIX/DOS/FAT32/Mac OS Exchange - DO NOT WORK for video due to 4Gb barrier.
    Mac
    • Free space on internal (start-up) hard disk ? Please specify the amount of free space.
    (Other hard disks don't count)
    I go for a minimum of 25Gb free space for 4x3 SD Video - and my guess is 5 times more for 16x9 HD ones
    after material is imported and edited. No Camera or A/D-box
    • GarageBands fix - Close iMovie, Open GarageBand, Play some notes, Close GB and iMove can now be OK
    • Does Your Mac have a FireWire Port
    • White MacBooks - don't
    • MacBook-Air - don't
    if not then a few Mac’s has a PCM-CIA slot and there are FW-Cards that makes a FW-port this way
    else - NO SOLUTION
    Only option as I get it is either
    • Use another Mac to Capture material (to an external USB2 - Mac OS Extended formatted hard disk - or -
    • Change to another Camera that can be used with Your Mac (no there are no miniDV tape Cameras that can)
    • If Your Mac-Book has a PCM-CIA Card place - then there are FW-port-Cards and then
    You can import via this - but I've not seen this on more modern Macs. My PowerBook G4
    has one and this FW-Card-port works greatly.
    SoftWare
    • Delete iMovie pref. file may help sometimes. I rather start a new account, log into this and have a re-try.
    • Any strange Plug-ins into QuickTime as Perian etc ? Remove and try again.
    • FileVault is off ? (hopefully)
    • Screen Saver - OFF
    • Energy Saver - OFF
    Using WHAT versions ? .
    • Mac OS - X.5.4 ?
    • QuickTime version ? (This is the heart in both iMovie and FinalCut)
    • iMovie’08 (7.1.?), 09 or 11 ?
    • iMovie HD 6 (6.0.4/3) ?
    Other ways to import Your miniDV tape
    • Use another Camera. There where tape play-back stations from SONY
    but they costed about 2-4 times a normal miniDV Camera.
    • If Your Camera works on another Mac. Make an iMovie movie project here and move it
    over to Your Mac via an external hard disk.
    (HAS TO BE   Mac OS Extended   formatted - USB/DOS/FAT32/Mac OS Exchange WILL NOT DO)
    (Should be a FireWire one - USB/USB2 performs badly)
    from LKN 1935.
    Hi Bengt W, I tried it all, but nothing worked. Your answer has been helpful insofar as all the different trials led to the conclusion that there was something wrong with my iMovie software. I therefore threw everything away and reinstalled iMovie from the HD. After that the exportation of DV videos (there has not been any problem with HDV videos) to my Sony camcorders worked properly as it did before. Thank you. LKN 1935
    from Karsten.
    in addition to Bengt's excellent '9 yards of advice' ..
    camera set to 'Play' , not rec/computer/etc.?
    camera not on battery, but power-line?
    did your Mac 'recognize' this camera before...?
    a technical check.
    connect camera, on, playback, fw-connected...
    click on the Blue Apple, upper left of your screen ..
    choose 'About . . / More . .
    under Firewire.. what do you read . . ?
    More
    • FileVault - Secure that it’s turned off
    • Network storage - DOESN’T WORK
    • Where did You store/capture/import Your project ?
    External USB hard disk = Bad Choice / FireWire = Good
    If so it has to be Mac OS Extended formatted
    ----> UNIX/DOS/FAT32/Mac OS Exchange is NOT Working for VIDEO !
    mbolander
    Thanks for all your suggestions. What I learned is that I had a software problem. I had something called "Nikon Transfer" on my Mac that was recognizing my Canon camcorder as a still camera and was preventing iMovie from working properly. After un-installing Nikon Transfer and doing a reboot, everything worked great.
    I never liked the Nikon Transfer software anyway--I guess I'll get a cheap card reader and use that to transfer photos in the future.
    No Camera or bad import
    • USB hard disk
    • Network storage
    • File Vault is on
    jiggaman15dg wrote
    if you have adobe cs3 or 4 and have the adobe bridge on close that
    or no firewire will work
    see if that helps
    DJ1249 wrote
    The problem was the external backup hard drive that is connected, you need to disconnect the external drive before the mac can see the video camera.
    MaryBoog wrote
    Maybe your problems is solved in the meantime, but for all others this might help as I had the same problem, also have the Sony HDR-HC7, but the 7e (Europe, PAL). I found this link today and it works perfectly
    //support.sony-europe.com/tutorials/dime/videotransfer/vtransfer.aspx site=odw_en_GB&sec=DVH&m=HDR-HC7E
    What I exactly did.- put camera in play mode - open guide - choose connection guide - choose comp./printer (where to transfer movie to) - select connection.- i-link (on my camera) but equal to firewire - OK - choose HDV - choose NO for conversion of i.link.
    Settings are shown then (VCR HDV/DV.- HDV and i.link-conv..- OFF), press OK, OK, END.
    Switch camera off. Connect firewire cable to camera & Mac. Switch camera on, in play/edit mode.
    Open i-movie, choose import from camera. On screen below the camera connection is shown.- DV (HDV). Now you can import, automatically or manually.
    This worked perfectly for me. Took me 2 days to find out. Could not find any clear thread explaining what I had to do on the camera and the manual was not clear either.
    Yours Bengt W

  • Help: cant get values from a resultset

    i have a class that contains all my MySQL statement and i am trying to use the results found from one of my select statements to pass on into another class which displays the results in a gui form. Here is my query:
    public void profile(String user)
            try
                 Class.forName(driver);
                 Connection con = DriverManager.getConnection( url,db_user, db_pass);
                 String username, name, email, dob, bio, gender, homepage, number;
                 //find username and select all details
                 String find = "SELECT Username, Full_name, Email, dob, Biography, Gender, Homepage, Contact_number FROM users WHERE Username = ? ";
                 PreparedStatement ps1 = con.prepareStatement(find);
                 ps1.setString(1, user);
                ResultSet rs = ps1.executeQuery();
                while(rs.next())
                    //retreive information from the server
                    username = rs.getString(1);
                    name  = rs.getString(2);
                    email  = rs.getString(3);
                    dob = rs.getString(4);
                    bio = rs.getString(5);
                    gender = rs.getString(6);
                    homepage = rs.getString(7);
                    number = rs.getString(8);
                    User_Profile profile = new User_Profile(username, name, email, dob, bio, gender, homepage, number);
                    JOptionPane.showMessageDialog(null, username + bio + email, null, JOptionPane.ERROR_MESSAGE);
                  con.close();
            catch( Exception e )
                     e.printStackTrace();
                     JOptionPane.showMessageDialog(null, "error," + e.getMessage(), null, JOptionPane.ERROR_MESSAGE);
        }As you can see, i am trying to pass on the variables username, name, etc to a new instance of my user_profile class but it doesnt for some reason. i dont get any comple errors so thats ok. i created messege dialog box from within the while statement above to see if a value is stored, and yes their is a value stored in my variables
    below is the user profile class which shows my constructor that suppose to get the values from the query class in this code entered above       User_Profile profile = new User_Profile(username, name, email, dob, bio, gender, homepage, number);
        protected String username;
        protected String FullName;
        protected String Email;
        protected String DOB;
        protected String Biography;
        protected String Gender;
        protected String Homepage;
        protected String Con_Number;
        protected String crnt_user;
    public User_Profile(String user, String name, String email, String dob,
                                String bio, String gender, String homepage, String number)
            initComponents();
            addWindowListener( this );
            //get values from sql query and store them here.
            this.username = user;
            this.FullName = name;
            this.Email = email;
            this.DOB = dob;
            this.Biography = bio;
            this.Gender = gender;
            this.Homepage = homepage;
            this.Con_Number = number;
         }the code below is used to display one of the values received from the query class, in this case returns null..
    txt_name.setText(username)

    Does the user String match the database String
    exactly?
    Some databases are case sensative.Sorry posted before done.
    Also, ensure you do not have trailing spaces in one or both. I remember Oracle had this problem a few years ago using the Type 4 driver but not through ODBC.

Maybe you are looking for

  • SPOOL Not generated in SUBMIT background job

    Hi All, I am submiting a report program using SUBMIT keyword. I required SPOOL. But its not generating. Can anyone kindly let me know whts wrong in my code? CALL FUNCTION 'GET_PRINT_PARAMETERS'   EXPORTING     LAYOUT                 = 'X_65_132'    

  • How to Tether Alltel LG Tritan CDMA phone Mac OS X

    This is a great little phone, and if you buy it through Walmart you get UNLIMITED internet. Okay, there are no USB modem drivers for this phone, so you have to use bluetooth. First pair your computer to the phone. Set the phone to "visible" (Icon but

  • Problems loading the mod_wl_20.so in apache

    My problem is that a got this error when i try to run the apache /usr/lib/dld.sl: Unresolved symbol: ecvtr (code) from /usr/lib/libcl.1 /usr/lib/dld.sl: Unresolved symbol: ldecvtr (code) from /usr/lib/libcl.1 Syntax error on line 298 of /opt/hpapache

  • How to declare a global/public variable in Oracle Forms

    Hi All, I have to get the value of a variable which is declared in the event 'When_Button_Pressed', in an another trigger with in the form. My variable & type l_db_handle EXEC_SQL.ConnType; This variable used to get the handle of a new database conne

  • REportwriter:  create a library of Table "FAGLFLEXA"

    Hi, I tried to create a library of table FAGLFLEXA in report writer (GR21) but report writer says: "Table FAGLFLEXA is not installed in Report Writer. Message no. GR493. The Report Writer can only report on tables if the attributes of these tables th