[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Could not read secondary source document in XSLT
On 14/07/2010 15:32, Jack Bush wrote:
10<xsl:template match="employee"> 11<xsl:apply-templates select="document('C:\\STAFF.xml')"/> 12<xsl:template match="/ns:employee"> as it said in teh error message you quoted, you can not nest templates. You have 10 <xsl:template match="employee"> 11 <xsl:apply-templates select="document('C:\\STAFF.xml')"/> 12 <xsl:template match="/ns:employee"> you need and </xsl:template> on line 12 also saxon may be forgivinbg these days but C:\\STAFF.xml should be a URI so file:///STAFF.xml David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|