On Tue, 2010-02-02 at 20:40 +0200, Israel Viente wrote:
Try to use absolute paths in menu.xml or do something like:
<xsl:for-each select="item-uri">
<xsl:variable name="fileName" select="normalize-space(.)"/>
<xsl:variable name="infile"
select="concat('file:///',$infilepathname, '/', $fileName)" />
<xsl:apply-templates select="doc($infile)"/>
</xsl:for-each>
Israel
Aha! I modified what you gave and it works. I tried something similar
before but it didn't. Dont' know why. Must be the stress. Thanks!
<xsl:for-each select="item-uri">
<xsl:variable name="fileName" select="."/>
<xsl:variable name="infile"
select="concat('http://','mysite.com','/','xml2', '/', $fileName)" />
<p><xsl:value-of select="$infile"/></p>
<xsl:apply-templates select="document($infile)"/>
</xsl:for-each>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--