[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] To get back to original root after using document() (was: RE
> If anybody knows how to get back to the original documents once you've > done apply-templates on a document(), I'd appreciate a hint. > Best I've > been able to come up with is two passes, using RTF->node set to gather > all the necessary interesting details into one big variable > and consult > that as I go. Then again, that might give the best performance anyway > since I'll have to generate index, glossaries, biblio and TOCs on the > fly anyway. :-/ Multi-document() keys/indices with ability > to restrict > them to node subsets on lookup would be a help. When I'm using document() I always create a global parameter <xsl:param name='root' select='/'/> So that I can always consult it when I want to get back to the original input document. Linda 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
|