You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Donald Ball <ba...@webslingerZ.com> on 2000/02/18 22:41:52 UTC

possible Xalan bug with exclude-result-prefixes

Hiya. I'm trying to use a exclude-result-prefixes attribute (of
xsl:stylesheet) to exclude some namespace prefixes from a result document.
Ordinarily, I get something like this:

<select>
 <form:option>Foo</form:option>
</select>

I want this:

<select>
 <option>Foo</option>
</select>

but instead I get this!

<select>
 <form:option xmlns:form="http://www.webslingerZ.com/XML/Form/1.0">Foo</option>
</select>

the xmlns:form attribute has moved from the document element down to each
occuring element. Am I misreading the XSLT spec or is this a bug? For the
record, I'm using Xalan_0_19_3D01.jar with cocoon-1.6.1. Thanks.

- donald