Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XSL de ICECAST

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Español
View previous topic :: View next topic  
Author Message
bettocr



Joined: 15 Dec 2006
Posts: 35
Location: San Jose

PostPosted: Sun Nov 11, 2007 1:22 am    Post subject: XSL de ICECAST Reply with quote

Saludos!

Estoy desarrollando en Flash una aplicación en flash para los datos de las radios, pero tengo el siguiente problema:

No se como manipular los XSL para que me devuelva un XML tengo la idea pero al ponerla en practica me da diferentes errores lo pongo a continuación a ver si me pueden ayudar, la idea es que me devuelva el XML de las personas conectadas

Gracias

Code:
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" encoding="utf-8">

<xsl:template match = "/icestats" >
<escuchas>
<xsl:for-each select="source">
            <escucha>
            <ip><xsl:value-of select="IP" /><xsl:if test="username"> (<xsl:value-of select="username" />)</xsl:if></ip>
            <segundos><xsl:value-of select="Connected" /></segundos>
            <medio><xsl:value-of select="UserAgent" /></medio>
            </escucha>
</xsl:for-each>
</escuchas>
</xsl:template>
</xsl:stylesheet>

_________________
Roberto Arias
---------------------------------------------------------
www.rarcomputacion.com
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Español All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber