This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Xalan + attribute name
- To: xsl-list at mulberrytech dot com
- Subject: Re: Xalan + attribute name
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Wed, 18 Oct 2000 15:22:46 +0200
- References: <01af01c03908$c6159a40$f2d4e7c1@voxtime.com>
- Reply-To: xsl-list at mulberrytech dot com
It's not a problem with Xalan, but a convention that, in HTML, an
attribute which value matches its name is minimzed.
<foo bar="bar"> is therefor considered as <foo bar> by the HTML method.
Xalan is just doing here what is written in the XSLT 1.0 spec [1] !
Eric
[1] http://www.w3.org/TR/xslt#section-HTML-Output-Method
Paula Marin wrote:
>
> Hello,
>
> I have Xalan-C and an attribute name="name" for an input element in a form.
> If I set the output to "xml", the problem is solved, but don't work the
> javascript files.
> If the output is set to "html" I have this problem with the attribute name.
>
> A solution is to change the attribute name. This is no solution for me
> because of the database and the dll. There are too much changes.
> I have a huge project here.
>
> Is there a solution for my problem?
>
> Thanks
> Paula
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea http://dyomedea.com
http://xmlfr.org http://4xt.org http://ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list