This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: keys and idrefs


At 07:13 AM 10/9/01, David wrote:
>but to find all process elements that contain XAG in their control
>attribute you could do
>
>select="key('control', 'XAG')"
>
>so long as you key was defined something like
>
>
><xsl:key match="process" use="@control"/>
><xsl:key match="process" use="substring-before(@control,' ')"/>
><xsl:key match="process" use="substring-after(@control,' ')"/>
><xsl:key match="process" use="substring-before(substring-after(@control,' 
>'),' ')"/>
>....

Which implies you'll know the maximum length of the token list, doesn't it?

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]