[Icecast] Help with XML/XSL

Charles Gagnon charlesg at unixrealm.com
Thu Jun 8 13:03:58 UTC 2006

Does anyone know where I could get XML/XSL help for my status page.

I wrote my own block-status.xsl file which is a simpler status page
intented to be used as a block in CMS (Nuke, Drupal or Xoops for

Currently, it lists every mount available with a green dot next to
it. My problem is I *expect* a certain number of mount to be
availabble and currently, if a mount is missing, it is simply not

  <xsl:for-each select="source">

Instead of selecting against the source, I would like to work
against an *expected* list:

  <xsl:for-each {list-of-expected-mounts}>
        <xsl:when test="server_description">
            [green dot] bla bla bla
            [red dot] bla bla bla

But I have not idea how to run the for-each against a somewhat
static list, only against source nodes.


Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   You can lead a mule to water, but you can't make him drink.
   However, if you shoot a couple of uncooperative mules, the
   rest tend to get pretty thirsty.

More information about the Icecast mailing list