|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Problem with document() function
Subject: Re: 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

|
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
| RSS 2.0 |
|
| Atom 0.3 |
|
|