Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Monthadar AL-Jaberi
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
What's wrong? Where are you going? Stop! Read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!