[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Reading external XML file XSLT2.0


Subject: Re: [xsl] Reading external XML file XSLT2.0
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 08 May 2013 12:34:48 +0100

On 08/05/2013 12:32, Pankaj Chaturvedi wrote:
Did tried this too David but no use. Are you all sure that I am using
correct syntax for defining document path

<xsl:variable name="extNode"
select="document('file:///C:/book-type/book_meta.xml')"/>

Yes but only you know if that is where the file is.


Do
<xsl:message select="'extNode: ',$extNode"/>

and see if it outputs anything you should see the full file contents.

David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________



Current Thread