Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Naug

  1. Naug

    validation against xsd

    I need to find a way to validate a document against xsd which is not referenced from xml. I have taken sample files from w3schools: xml: <?xml version="1.0"?> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> xsd: <?xml...
  2. Naug

    SQLException: No data found

    Another thingie, I have inserted rS.last(); System.out.println("last " +rS.getRow()); (ofcourse afterwards I move back to first row) right after creation of resultset and what Im geting out is that there is allways only 1 row returned
  3. Naug

    SQLException: No data found

    2 sedj&Dian I get exactly same thing both with accessing column by number and using diff statement. For reference I am presently using createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
  4. Naug

    SQLException: No data found

    the code looks EXACTLY like I posted - I create result set, if at least 1 row exists I move to it and try to read same column from that row several times over which admitedly can (and after this accident I might add should) be avoided. I heard that jdbc-odbc bridge is not production quality and...
  5. Naug

    SQLException: No data found

    That is if we AssUMe that what we are trying to do is to loop through a result set. Which I wasnt. In my case I was trying to acces same "cell" several times over.
  6. Naug

    SQLException: No data found

    No, in official java forums I recieved reply: Which I interpret in a way that when you access same column several time you have to be ready that it will randomly freak out.
  7. Naug

    SQLException: No data found

    Hello ppl. I have a little querry on my hands System.out.println(query); rS = db.executeQuery(query); if (rS.next()) { System.out.println("Data: " + rS.getString(attribName)); System.out.println("Data: " + rS.getString(attribName))...
  8. Naug

    evaluate function

    Ya I actually rewrote this to do the calc in database
  9. Naug

    evaluate function

    Could be anything and brackets and all... Or no operator at all which also needs separate case. Do you think parameters can be used? I never used em.
  10. Naug

    evaluate function

    Any idea how do I do if Im not sure what action "*/-+" will be required if any at all? Only thing I can figure is to myself make some sort of "math" node which will have relevant attribute
  11. Naug

    evaluate function

    Works. Xept I swaped "form" for "text()" in the expressions but thats prolly cause tag-name in result isnt float (I left it as float to simplify the example)
  12. Naug

    evaluate function

    value="{7 * 4}" well how do I do that? I am trying value="{normalize-space(text())}" but as result I simply get value="47*4" rather then the evaluation of the expression
  13. Naug

    evaluate function

    What if I need an atribute and not text tag? I better give example I suppose. I have a node <float>47*4</float> what I want in output is <float value="188">188</float>
  14. Naug

    evaluate function

    Is there an evaluate function that would allow to xsl transforming e.g. 8*4 into 32?
  15. Naug

    xml in databases

    do you know if Ingres has that ability?

Part and Inventory Search

Back
Top