Re: [xsl] Problem with document() function

Subject: Re: [xsl] Problem with document() function
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 12 Oct 2001 11:37:07 -0400
Joerg,

At 08:24 PM 10/11/01, you wrote:
But you must be aware that in the way document('contact1.xml') the file will
be searched relative to the stylesheet. But I learned already a method for
searching the file relative to the context node, so mostly relative to the
input file (wasn't that you, Wendell, who taught me ;-) ):
documents('contact1.xml',.)

Yes I guess it was ... since my calls to document() are usually relative to the stylesheet, I'd forgotten about this one. Good catch!


Mirabile dictu, one can actually learn useful things and improve one's grasp of the language by reading the XSLT and XPath specs. It's also good exercise for the brain (helps reduce the frequency of those spasms).

Cheers,
Wendell


====================================================================== 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



Current Thread