Mario777: Radiobuttons in XML XSL

Beitrag lesen

Hallo,

das habe ich bis jetzt:

Meine XML:

auswahl>  
			  
<button name="radio1" title="My radio button"/>  
			  
</auswahl>

Meine XSL:

<xsl:variable name="rezeptgebbefr">  
		  <xsl:output method="html" omit-xml-declaration="yes"/>  
				  
				<xsl:template match="/">  
				<xsl:apply-templates select="/n1:ClinicalDocument/n1:recordTarget/n1:patientRole/n1:auswahl/n1:button"/>  
				</xsl:template>  
				  
				<xsl:template match="button">  
				<input type="radio" id="{@name}"><xsl:value-of select="@title"/></input>  
				</xsl:template>  
  
</xsl:variable>

Das klappt bei mir schon nicht. Grundlagen hab ich mir schon angeschaut, ich probier gerade herum, was ich wie und wo einbauen kann, aber es will nichts klappen.

Lg