Hi Jeni,
>> <xsl:key name="fieldlength"
>> match="/file/group/field/@length[@length]"
>> use="@name"/>
JT> anything from the key. I think you meant:
JT> <xsl:key name="fieldlength" match="field[@length]" use="@name" />
kind of, I've changed it to something similar now and it's working.
JT> The problem that's causing the error you're getting, though, is:
JT> The first argument to the key function should be a string. You're
JT> missing quotes:
Ah! That's it. I was thinking that fieldlength would actually be an
object itself, rather than just a string identifier.
I've got it all working now, thanks for the help!!
--
groovy baby,
Kevin mailto:xmldude@xxxxxxxxxxxxxxxx
+++++++++++++ Cool music - http://mp3.com/marshan
++ Attitude Rock Webzine - http://burieddreams.com/attitude
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|