Omnimaga
General Discussion => Technology and Development => Computer Programming => Topic started by: Sorunome 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
-
<xsl:include href="header.xsl" /> in index.xsl should be directly under the xsl:stylesheet node, not the xsl:template node.
-
still not working D:
-
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" >
-
So, I resolved all my problems now, this website helped me out a lot: http://homepages.ius.edu/RWISMAN/n341/html/xslInclude.htm