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 wOOdy-Soft 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 mashadt

  1. mashadt

    sorting nested elements

    Excellent - that looks just right.
  2. mashadt

    sorting nested elements

    I want to sort nested elements without losing their placement inside their parent elements when they get displayed in the browser. If I have an XML document something like this: <?xml version="1.0" encoding="UTF-8"?> <notes> <section order="3"> <para order = "3">...
  3. mashadt

    changing xml document object with javascript

    Here is a question about manipulating a document object with javascript: To access the value of an attribute in an XML document via javascript in a seperate html document, I can retrieve the attribute using the W3C XML DOM - The XML looks like this: <?xml version="1.0" encoding="UTF-8"?>...
  4. mashadt

    Using javascript to change xslt stylesheet

    OK - and I have figured out most of the rest of it by now. The only thing that puzzles me is this bit in the refresh() function. document.getElementById ("here").removeChild (document.getElementById ("here").firstChild); document.getElementById ("here").appendChild(result.firstChild); And...
  5. mashadt

    Using javascript to change xslt stylesheet

    I have found some javascript which can be used in conjunction with an xml file and a couple of xslt stylesheets. The idea is to use one xml file, and use the javascript to switch between the xslt style sheets that get used. In the case of this example, the xml gets sorted in ascending or...
  6. mashadt

    more than one XSLT for one XML document

    I'm sorry, maybe the above is not very clear. I want to create a single HTML page that can be re-formatted ( in terms of the order of content) depending what the user clicks on. I was hoping that it would be possible to use a single XML document transformed into HTML using XSLT. Then...
  7. mashadt

    more than one XSLT for one XML document

    I want to create a single XML document that can be transformed with different XSLT style sheet depending on what the user clicks on. Is this possible?
  8. mashadt

    DocBook which is not a DTD?

    Hi My lecturer tells me "docbook is a standard that is independent of the DTD or schema that is used to represents its rules." Does this mean that you can find DocBook as a XSD or XDR Schema rather than a DTD? Where can I find more information on this? Thanks
  9. mashadt

    BufferedFileReader read from beginning again.

    When using BufferedFileReader to read records from a file BufferedReader inFile = new BufferedReader(new FileReader(FILE_NAME)); //loop through the array for(int counter = 0; counter < array.length; counter ++) { dataLine = inFile.readLine()...
  10. mashadt

    how many occurences of specific values in a string?

    Hey thanks sedj that is EXACTLY what I was looking for. Saves me having to muck around with linked lists.
  11. mashadt

    how many occurences of specific values in a string?

    OK - its getting late and my solutions are getting weerd. In my program, a number of int values are added to a string String output; int value; stuff happens output += "*" + value; In the end I would like to take this string and seperate out how many occurences of each int value there...
  12. mashadt

    newby - how to seperate program into classes

    thanks that helps
  13. mashadt

    newby - how to seperate program into classes

    Hi I am having problems seperating my program into classes rather than just having everything in one class. The program I am working on reads data from file, places it into an array and then does stuff to it. At the moment I have two classes, one that takes user input, the other does...
  14. mashadt

    starting to use sql plus - where have all the tables gone?

    This is what I suspected. I have just, as you say, hit the close X in the upper right hand corner. What method should I use? What I have done so far is to log on using system as my username. Then I can type in create table dog (name char(20), breed char(20)); Then I can put vaues in...
  15. mashadt

    starting to use sql plus - where have all the tables gone?

    I have just managed to install Oracle 10g and am now falling about trying to figure out how to use it. I can open SQL*Plus, log in and create tables, insert data, recall and change the data and so on. I can save the latest command that is in the buffer into a .sql file. If I close SQL*Plus...

Part and Inventory Search

Back
Top