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!

Search results for query: *

  • Users: mashadt
  • Content: Threads
  • Order by date
  1. 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">...
  2. 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"?>...
  3. 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...
  4. 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?
  5. 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
  6. 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()...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. mashadt

    resolving template conflict?

    in my XML I have a <chapter> root element. In this I have an <exercise> element and an <explanation> element. Each of these have child elements <heading> and <content> I want my XSLT style sheet to process the heading and content elements the same regardless of where they are. Ive done it...
  12. mashadt

    show/hide text with links

    I'm trying to use Javascript in my XSLT sheet to hide and reveal XML elements. I would like there to be links at the top of the page that makes text elsewhere in the page appear or dissapear. So far I can just show/hide the content of an element where that element is being processed. Im...
  13. mashadt

    swapping XSLT sheets

    Say I have an XML page that is linked to a paricular XSLT stylesheet. Is it possible to write an instruction into the XSLT sheet that can reassign that link: for example if the viewer clicks on a button, the same XML page will now be transformed by a different XSLT sheet?
  14. mashadt

    choosing between Schemas, DTD

    I am learning the use of XML and XSLT for my masters project, which involves creating computer based notes which can be reformatted by the student to suit their learning style. I have some questions about DTD's and Schemas. JontyMC told me that DTD's dont work in some browsers. I also get the...
  15. mashadt

    newby problem: using !ENTITY

    Hi - I have just begun learning XML and am flailing around a bit - apologies if this is a stupid question, but when you are a beginner, all questions are important... I have been running into this problem with using entities. When I open the xml below in a browser (Firefox 1.0.2 or Mozilla...

Part and Inventory Search

Back
Top