Author Topic: [XSL] include not working  (Read 3164 times)

0 Members and 2 Guests are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
[XSL] include not working
« on: April 17, 2013, 12:01:13 am »
Hey, XSL include doesn't seem to work over here....here's my code (yes, i am modding the icecast xsl files):
index.xsl
http://pastebin.com/48u1CzMf

header.xsl
http://pastebin.com/hH7RDNkU

Thanks for any help in advance :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [XSL] include not working
« Reply #1 on: April 17, 2013, 07:57:56 pm »
<xsl:include href="header.xsl" /> in index.xsl should be directly under the xsl:stylesheet node, not the xsl:template node.
« Last Edit: April 17, 2013, 07:58:24 pm by Deep Thought »




Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [XSL] include not working
« Reply #2 on: April 17, 2013, 08:35:30 pm »
still not working D:

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [XSL] include not working
« Reply #3 on: April 18, 2013, 10:41:13 pm »
Ok, i think there is some other problem in my xsl, so there is another problem now: I have two template elements but it onnly outputs the result of my second template element.....both are defined by <xsl:template match = "/icestats" >

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [XSL] include not working
« Reply #4 on: April 20, 2013, 09:10:26 pm »
So, I resolved all my problems now, this website helped me out a lot: http://homepages.ius.edu/RWISMAN/n341/html/xslInclude.htm

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!