[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: Martin Holmes <mholmes@xxxxxxx>
Date: Wed, 8 May 2013 05:45:40 -0700

Could this just be a namespace issue? Are the contents of your external doc in a different namespace from your default one?


On 13-05-08 05:21 AM, Pankaj Chaturvedi wrote:

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

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

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

Yeah I can see the its shows full content of XML file. Then why I am able to print values using:

<xsl:value-of select="$extNode/book-meta/book/@author"/>
Or for that matter

<xsl:value-of select="document($extNode)/book-meta/book/@author"/>

I think I am having one of those days. :-(


Current Thread