[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: glossary
>> Is it possible to generate as part of an output xml file >> only those gloss entries which are contained in the report > > ><xsl:template match="glossary"> ><xsl:for-each select="entry[term=//acronym]"> > >possibly with a normalize-space or two thrown in, so that > <acronym> RNIN </acronym> and <acronym>RNIN</acronym> >are the same, and possibly instead using keys so that >the rather expensive // operation isn't done afresh for each entry The file sizes don't warrant care over processing time David. I hadn't realised that the select would match on 'any' acronym for each term, I'd have guessed the comparison would have occurred on the first of the node list of acronym for each term. I will need to take care of random spaces, good precaution. Thanks. DaveP 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
|