xsl-list
[Top] [All Lists]

Re: [xsl] Stopping any processing instruction output

2007-02-03 13:44:42

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--