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

[xsl] xsl:include statement is "unexpected element".


Subject: [xsl] xsl:include statement is "unexpected element".
From: Tim Hibbs <xsl.posting@xxxxxxxxx>
Date: Thu, 11 Mar 2010 11:09:26 -0700

All,

Attempting my first use of <xsl:include> as <xsl:include
href="calledTemplatesFO/ct_AddTableHeader.xsl">. XML Spy indicates the file
is not valid, with the note
"Unexpected element
xsl:include"

Including file starts thusly:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"  xmlns:fo="
http://www.w3.org/1999/XSL/Format" xmlns:frq="
http://www.fedex.com/schemas/freightRateQuotation"
exclude-result-prefixes="frq">

I'm not sure what is happening here - advice is much appreciated.

Using xalan-j _2_7_1 (also Weblogic 10.2 running a 2.0 EJB in eclipse 3.5.1
with XML Spy 2008 plugin, JDK1.6.0_17, Apache fop-0.95, all under Windows XP
SP3)

Thank you.

Tim Hibbs
FedEx Services
350 Spectrum Loop
Colorado Springs, CO 80921
719-484-2131


Current Thread
Keywords
xml