Subject: Re: [xsl] AVT use and doc() function in xslt 2.0? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 19 Aug 2011 11:02:55 -0400 |
You could change the key to be all of the @val attributes joined using a hyphen:
match="replaceWith" use="string-join((ancestor::* except searchReplace)/@val, '-')"
then you should be able to call using the much shorter:
key('blah', string-join((modelic,sdc,chapnum,....), ','), $doc)
which if they are in document order anyway then just:
key('blah', string-join(*, ','), $doc)
Ironically 'throwaway' code often hangs around for long time...
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] AVT use and doc() functio, Andrew Welch | Thread | Re: [xsl] AVT use and doc() functio, David Carlisle |
Re: [xsl] redirecting ouput to a di, Andrew Welch | Date | Re: [xsl] AVT use and doc() functio, David Carlisle |
Month |