[Home] [By Thread] [By Date] [Recent Entries]
Betty,
If the title within each file is in the same place every time (or even if not), you can retrieve it by adapting the method David showed: document('',$node)/*/title will get you the title element children of the document element of the file containing $node. I don't know how far that gets you, however. But it shouldn't be hard to build a lookup table to get from this title (assuming it's unique) to a file name or some such. Note that this also assumes each file is a complete well-formed XML document, not merely a parsed entity (which can have more than one top-level element). Cheers, Wendell At 02:29 PM 10/23/2003, you wrote: Thanks! I think I will have to use XSLT 2 or another language. I am building a key for another document to point to locations in the external document. ====================================================================== 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
|

Cart



