Retrieving External Files in XSLT Script

I have written an XProc to convert DITA files.  DITA uses 'conref'
attributes to pull-in information from other files.  My XSLT is evaluating
the conref and retrieving the cross-referenced information from an
external file.  Everything is working well with the XSLT.  I am using
Calabash.

My XSLT looks like this and runs fine when not using XProc:

  <xsl:for-each select="doc($filename)/descendant::*[@id = $id]">
               <subsection>
                   <xsl:apply-templates/>
               </subsection>
  </xsl:for-each>

When I run the XProc provides the following error message:

C:\file:\K:\myfiles\myfile.dita((The filename, directory name, or volume
label syntax is incorrect)

I have verified that 'file:\K\myfiles\myfile.dita' is accessible.  The URL
that I am actually the file is:  file:///K:/myfiles/myfile.dita.

I know that you cannot use "xsl:result-document" in your XProc script.  I
am wondering if Xproc has a similar issue with doc()?  Maybe this is why
DITA OT uses ANT.

TIA!

Betty




/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Member of XML Guild (www.xmlguild.org)

Received on Sunday, 26 May 2013 19:25:49 UTC