xsl-list
[Top] [All Lists]

Re: [xsl] Applying external XML

2010-02-02 14:59:47
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


Thanks but I should have said this will take place client side in a
browser so I can't use xslt2 or fo.


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

<Prev in Thread] Current Thread [Next in Thread>