Hi, I have an XSL file that just transfers the XML straight through, see status-xml.xsl here: http://www.ecs.soton.ac.uk/~njh/libshout-doc/ <p>I also have an improved version of status.xsl there. <p><p>Cheers, <p>nick. <p><p>>Hi everybody,> >If I understand well, the purpose of XSL files is re-formatting XML files. >When I checked the admin folder, I saw status.xsl but I did not see the >source XML file (status.xml?). > >If status.XML (NOT status.XSL) exists, where is it located? Is there any way >I can store status.xml or status.xsl on a remote HTTP/FTP (not an Icecast2 >relay) server? > >Thanks in advance for your help! > >MAX > > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >icecast project homepage: http://www.icecast.org/ >To unsubscribe from this list, send a message to 'icecast-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi everybody, I am trying to parse an xsl file on Icecast/Linux (RH9) but I always get the message "Could not parse XSLT file". I don't think it's a problem with my XSL libraries because I can parse status.xsl and status2.xsl. Also, the file I am trying to parse on the Linux box can be parsed without any problem on my windows/icecast box. I guess there is a mistake in my code. Can anybody take a look at the attached file? I am trying to isolate the "title" element and generate a kind of XML file... Thanks in advance, MAX <p><p><p> -------------- next part -------------- A non-text attachment was scrubbed... Name: now_playing.xsl Type: text/xml Size: 747 bytes Desc: now_playing.xsl Url : http://lists.xiph.org/pipermail/icecast/attachments/20040224/4c46dc89/now_playing.bin
If you want a good way to test out your xsl files, the following will help quite a bit : 1. get a copy of the stats tree in a file somewhere : wget http://admin:hackme@server:port/admin/stats;mv stats stats.xml 2. run xsltproc stats.xml yourfile.xsl xsltproc will try to perform the transform and give you much better messages than icecast will (icecast just says Cannot parse, but xsltproc will give you file and line numbers and contextual information) oddsock At 03:43 AM 2/24/2004, you wrote:>Hi everybody, > >I am trying to parse an xsl file on Icecast/Linux (RH9) but I always get the >message "Could not parse XSLT file". I don't think it's a problem with my >XSL libraries because I can parse status.xsl and status2.xsl. > >Also, the file I am trying to parse on the Linux box can be parsed without >any problem on my windows/icecast box. > >I guess there is a mistake in my code. Can anybody take a look at the >attached file? I am trying to isolate the "title" element and generate a >kind of XML file... > >Thanks in advance, > >MAX > > ><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.