File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT and document.write can Watch "XSLT and document.write can New topic

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

Monthadar AL-Jaberi

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 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 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




[ July 16, 2004: Message edited by: Monthadar AL-Jaberi ]
[ July 16, 2004: Message edited by: Monthadar AL-Jaberi ]
I agree. Here's the link:
subject: XSLT and document.write can't they work together?
It's not a secret anymore!