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">...
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"?>...
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...
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
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()...
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...
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...
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...
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...
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...
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...
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?
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.