[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Stopping any processing instruction output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 3 Feb 2007 20:44:26 GMT
> At present this is the template that creates the div:
> 
> >   <xsl:template match="/">
>     <div class="menuBar">

that means you have generated an element with local name div in the
default namespace for this document. By default (in any xml file) the
default namespace is no-namespace, which is what you want for html.
However you have shown that the output isn't an html (no-namespace) div
but an element div in the namespace
http://www.miltonstreet.com/events.xsd
s you must have
xmlns="http://www.miltonstreet.com/events.xsd"
somewwhere. You don't want that.

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member