aspose file tools*
The moose likes XML and Related Technologies and the fly likes XSLT and document.write can't they work together? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT and document.write can Watch "XSLT and document.write can New topic
Author

XSLT and document.write can't they work together?

Monthadar AL-Jaberi
Greenhorn

Joined: Jul 16, 2004
Posts: 1
Hi, I have some problem, first I hade a problem with escape cahrecter which was inside a JavaScript inside an XSLT file, but then I gave up couldn't solve it....so I found another way to my problem....this time I don't get an error message when I open XSLT file, but then again, I don't get any result when I open the html....can you spare me 5min och check it out....why dosn't anything show up??

to make it easier I will explain alittle about my problem....

there is 4 files....css, html, xslt(xml) and an xml.

html have a JavaScript to show XML and XSLT inside it...okej here?

then, inside the XSLT, I have a Javascript inside it I have the code...



it should show what the xml file have stored in it, cause when I take away the Javascript code, it shows it without problems....now you can ask why I want JS then? It is so that I want to navigate through the eps, when the code works, I will change the word "ep1" to a var, so that the user can navigate from ep1 to ep2 and etc....

so can you check it out please

Note, I tried with ep[@number="1"], i.e with attributes, bu I got problems always with the escape charecter... so I tried this new method...if you have a better idea, please help, thnx

THE LINK:
http://w1.409.telia.com/~u40934250/toshow2

THE OLD METHOD:
http://w1.409.telia.com/~u40934250/toshow

THNX ALOT
//Monthadar

[ July 16, 2004: Message edited by: Monthadar AL-Jaberi ]
[ July 16, 2004: Message edited by: Monthadar AL-Jaberi ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSLT and document.write can't they work together?