Re: [xsl] xsl:include and "Keyword div may not be used here"

Subject: Re: [xsl] xsl:include and "Keyword div may not be used here"
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 17 Jun 2005 12:48:45 +0100
You have


  L:\IntraDevl\Docs\Includes_Xsl\skeleton.xsl
  ==================================
  <?xml version="1.0" encoding="UTF-8" ?>
  <stylesheet	version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns="http://www.w3.org/1999/XSL/Transform";>
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

So that means that unpredfixed elements are XSLT instructions so


	<div>
                     <!-- if this div is here, the error occurs *>
	</div>
	
will be reported as the same thing as

	<xsl:div>
                     <!-- if this div is here, the error occurs *>
	</xsl:div>


ie you have an element with local name div and namespace 
http://www.w3.org/1999/XSL/Transform
at that position.


I would guess that this was a typo and you meant not to have
xmlns at all or have it be the xhtml namesace
http://www.w3.org/1999/xhtml

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread