[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: document()
Gabriel,
Would it help to know that document() can take a second argument, a node set, which when used sets the BaseURI used as the starting point for resolving a relative path to the BaseURI of the first node in the given set, instead of the stylesheet as normally? That is, document('my.xml') will find my.xml next to the stylesheet, but document('my.xml',/) will locate "my.xml" relative to the parsed entity where "/" was found (which is typically, of course, the root node of the source document of the transform). Depending on your file architecture, this may help you work around your problem. (Though if it's an MSXML3 bug, maybe not.) Cheers, Wendell At 04:12 PM 11/7/2004, you wrote: hehe yeah that's exactly my problem.. the only XML file I can open with document() is if it's the same folder as the XSL. :/ ====================================================================== 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 ======================================================================
|
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
|