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"?>...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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!)...
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.