Posted by: liketasty
« on: June 24, 2024, 04:19:57 pm » They probably changed something in the latest Zetta update.
Thank you for using this forum as the technical support base for your device.
● You can format the text and attach screenshots, photos and RDS Spy records
● Faster reply: 50 % of questions are answered within 30 minutes
● You don't need to register (but registration is possible)
● The members represent a wide range of experts
● The resolution will be helpful to other users
● You'll be notified by email about new post
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:strip-space elements="*"/>
<xsl:variable name="newline">
<xsl:text> </xsl:text>
</xsl:variable>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="LogEventCollection">
<xsl:for-each select="LogEvent">
<xsl:text>XCMD=<rds><item><dest>3</dest><text></xsl:text>
<xsl:choose>
<xsl:when test="@Type='SONG'">
<xsl:text><title></xsl:text>
<xsl:value-of select="Asset/@Title"/>
<xsl:text></title> - <artist></xsl:text>
<xsl:value-of select="Asset/@Artist1"/>
<xsl:text></artist></xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Enter station slogan here</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text></text></item></rds></xsl:text>
<xsl:value-of select="$newline"/>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>