Evening all,
I'm using this XSL template:
<xsl:template match="todayappointments">
<xsl:element name="input">
<xsl:attribute name="type">radio</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="patient"/></xsl:attribute>
<xsl:attribute name="name">patient</xsl:attribute>
<xsl:text>- </xsl:text>
<font color="green">
<xsl:text>1 </xsl:text><xsl:value-of select="patientfirst"/><xsl:text>2 </xsl:text><xsl:value-of
select="patientsur"/><xsl:text>3 </xsl:text>
<xsl:text> (</xsl:text><b>
<xsl:value-of select="patient"/></b><xsl:text>) </xsl:text>
</font>
<xsl:text> at </xsl:text><font color="blue"><xsl:value-of select="time"/></font>
</xsl:element>
<br/>
</xsl:template>
to give me radio button with "firstname lastname (IDnumber)"
simple huh? thats what i thought... but when it outputs html the space that SHOULD be between the firstname and lastname is put before the firstname so i get
"_firstnamesurname (IDnumber)"
any other spaces are fine
if tried swapping the firstname and space around - no joy
any ideas this is driving me around the bend?
Cheers
I'm using this XSL template:
<xsl:template match="todayappointments">
<xsl:element name="input">
<xsl:attribute name="type">radio</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="patient"/></xsl:attribute>
<xsl:attribute name="name">patient</xsl:attribute>
<xsl:text>- </xsl:text>
<font color="green">
<xsl:text>1 </xsl:text><xsl:value-of select="patientfirst"/><xsl:text>2 </xsl:text><xsl:value-of
select="patientsur"/><xsl:text>3 </xsl:text>
<xsl:text> (</xsl:text><b>
<xsl:value-of select="patient"/></b><xsl:text>) </xsl:text>
</font>
<xsl:text> at </xsl:text><font color="blue"><xsl:value-of select="time"/></font>
</xsl:element>
<br/>
</xsl:template>
to give me radio button with "firstname lastname (IDnumber)"
simple huh? thats what i thought... but when it outputs html the space that SHOULD be between the firstname and lastname is put before the firstname so i get
"_firstnamesurname (IDnumber)"
any other spaces are fine
if tried swapping the firstname and space around - no joy
any ideas this is driving me around the bend?
Cheers