[Home] [By Thread] [By Date] [Recent Entries]

Subject: Xsltproc document()
From: Andrew Kirkpatrick <ncam_tech@xxxxxxxx>
Date: Mon, 19 May 2003 13:54:41 -0400
I'm sending parameters to xsltproc from an application interface andrunning
into a problem with the document() function.

If I send a parameter that is a filename without a path, everything works
fine.  The filename that gets passed is for a file that is in the same
directory as the stylesheet.

<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.  

Does anyone know if this is something that xsltproc doesn't do well or if
I'm doing something wrong?

Thanks,
AWK



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


Current Thread
  • Xsltproc document()
    • Andrew Kirkpatrick - Mon, 19 May 2003 13:55:01 -0400 (EDT) <=
      • <Possible follow-ups>
      • Passin, Tom - Mon, 19 May 2003 14:49:29 -0400 (EDT)
      • me - Mon, 19 May 2003 14:50:01 -0400 (EDT)
      • David . Pawson - Tue, 20 May 2003 02:58:25 -0400 (EDT)
        • Mike Brown - Tue, 20 May 2003 13:22:52 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member