Re: [xsl] Xsltproc document()

Subject: Re: [xsl] Xsltproc document()
From: me@xxxxxxxxxxxx
Date: Mon, 19 May 2003 11:49:50 -0700 (PDT)
> I'm sending parameters to xsltproc from an application
> interface andrunning
> into a problem with the document() function.
> <xsl:param name="foo"/>
> .
> .
> .
> <xsl:copy-of select="document($foo)/dir"/>
> 
> 
> However, if I try to send a full path so I can
> incorporate a file that is
> somewhere other than the same directory, it doesn't
> work.  I've tried to
> send the parameter as c:\foo and as file:\\\c:\foo and
> nothing seems to
> work.  
Ah, windows. I believe the format is something like 

file://c:/foo to work in windows. If you like search
the archives there was a thread on this a couple weeks
ago (I don't think this is specific to xsltproc).

Cheers,
Rob

    _/  _/_/    _/_/_/
   _/_/   _/ _/     _/
  _/               _/
 _/             _/
_/          _/_/_/_/
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread