On 8 May 2013 12:03, Pankaj Chaturvedi
<Pankaj(_dot_)Chaturvedi(_at_)aptaracorp(_dot_)com> wrote:
I know that
<xsl:variable name="extNode"
select="document('file:/c:/book-type/book_meta.xml')"/>
Will not work in Windows so decided to use document-uri(). Can
somebody share their views how this can be done.
try file:/// (3 slashes)
No success Andrew. I am writing below codes just for review
<xsl:variable name="extNode"
select="document('file:///C:/book-type/book_meta.xml')"/>
Trying to print somewhere
<xsl:value-of select="doc($extNode)/book-meta/book/@author"/>
book_meta.xml looks something like:
<?xml version="1.0" encoding="UTF-8"?>
<book-meta>
<book name="" chapter_label="" author="supress"/>
</book-meta>
Any suggestions what could be possibly wrong.
You've got document() and doc()....
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
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>
--~--