|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re[2]: Problem with key()
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








