On Fri, 2004-03-05 at 12:33, Dossy wrote: > On 2004.03.05, Ross Simpson <[EMAIL PROTECTED]> wrote: > > The inclusion (from within map_results.xsl): > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > version="1.0"> > > <xsl:include href="poi_list.xsl"/> > > > and the error: > > couldn't open "map_results.xsl/poi_list.xsl": no such file or directory > > > > It seems that tdom is using the current node as the base uri. > > Right. > > > My questions are, > > - is this desired behaviour? > > Absolutely. You gave a relative href, so it should be relative to the > current URI (which is "map_results.xsl" at the time of the include). > > > - if so, how can I get around it (and who desires it??) :) > > <xsl:include href="../poi_list.xsl"/> > > ? > > -- Dossy >
Sorry, should have mentioned what I tried.. <xsl:include href="../poi_list.xsl"/> and <xsl:include href="/poi_list.xsl"/> both give errors: couldn't open "map_results.xsl/../poi_list.xsl": no such file or direc.. and couldn't open "map_results.xsl//poi_list.xsl": no such file or directory respectively. It seems that the href argument, whether relative or absolute, gets appended to the current node. Looks like maybe a bug to me, but maybe I'm just misunderstanding things. Thanks, Ross -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.