This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with document() function


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@mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]