cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: advice
Date Thu, 09 Mar 2000 23:16:18 GMT
Mike Engelhart wrote:

> Juergen Hermann wrote:
> 
>> your source xml:
>> <timefield name="waking" selected="9a"/>
>> 
>> your stylesheet:
>> 
>> <xsl:template match="timefield">
>> <xsl:variable
>> name="times"><8a>8:00am</8a><9a>...</xsl:variable>
>> 
>> <select name="{@name}">
>> <xsl:for-each select="$times"> ...
>> value="{name()}" ...
>> ... <xsl:if> ... selected ... </>
>> </>
>> </>
> Thanks but this isn't valid XML and can't work
> 
> Mike
what i meant to clarify was that it's illegal to start an element with a
number.. 

mike


Mime
View raw message