|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using substring-functions more than once in a node
Mario--
Of course, if your footnotes appeared as markup (e.g. <fn> elements) this would be *so* much easier. In effect, you're having to use XSLT to parse your own custom markup. Hence the recursive template in David's solution. You might consider a pre-pass over the data before you use XSLT on it, changing, for example, the regular expression (I use a syntax my text editor knows) "(FN \([0-9]+\))" to "<FN no="\1"/> so you have <FN no="99"/> in your data instead of (FN 99). The transform would then be trivial. Cheers, Wendell At 01:47 PM 3/26/2002, David McNally wrote: Hi. ====================================================================== 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 ====================================================================== 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








