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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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...
  16. mashadt

    database in mount or nomount state

    Thanks Mufasa! But in the interim, having panicked because of extreme time pressure, I have used regedit to delete all the oracle services, deleted all the folders oracle created when I installed it, and re-installed everything. I've just tried starting up Enterprise Manager and BINGO it...
  17. mashadt

    database in mount or nomount state

    Hi William Thanks for your reply - but as I am very new to this, I am not sure how to follow your instructions. I also forgot to mention that I am running this on a Windows XP system. How would I do what you suggest - Where do I find the ORATAB file? How do I use SQL plus to do what my...
  18. mashadt

    database in mount or nomount state

    I've just installed oracle 10g for the first time. Because I am new to it and to databases in general, I installed and unistalled it a few times in the process of getting the install working. Now have installed it, created a database and figured out how to call up Oracle Enterprise Manager in...
  19. mashadt

    resolving template conflict?

    OK - still on the same topic. Now I'm trying to sort the elements. I would like to be able to have the <explanation> elements appear alphabetically according to the content of their <heading> child elements. I've commented out my various attempts, each version of which gives me something I...
  20. mashadt

    Will XML with XSL work as standalone?

    Hi "I always see a reference to a URL in the opening declaration of XSL, XLT(?). Will the templates, stylesheet, etc work, though it's a standalone application? " Yes, you dont have to be online for those. The things you refer to are probably URI's , Uniform Resource Identifiers (I think!)...

Part and Inventory Search

Back
Top