One idea is to have two processing stages, i.e. two stylesheets: one of which builds the basic output document with elements marking where you want the custom-found HREFs to go; the second stage then replaces these with the HREFs you've actually found.
Another idea would be to write an extension for xalan that would simply output the correctly-found HREF on the spot at a certain part of your stylesheet. The stylesheet would determine where the HREF should go and all other formatting; the extension could then be any arbitrary Java (or other language) code that you write that does the searching you want and then returns the correctly-found HREF on the spot. - Shane ===== <eof aka="mailto:[EMAIL PROTECTED]" quote="A mirror is like a window on the other side of behind you."/> __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
