This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Xalan + attribute name


Hello Eric

I allready knew that this is not a Xalan problem.
But, in conditions described bellow you have any ideea to solve this
problem?

Thanks
Paula

> 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


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]