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: illegal xhtml attributes?


> Hi,
> 
> I'm perplexed.  I have xml code which includes some xhtml code.  When I try
> to perform an xslt transformation on it, I get the following warning:

nothing wrong with xml

> 
> XSL Warning: Illegal attribute name: alt
> 
> the xml code looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <xbutton>
>   <image height="22" width="45" alt="Reset">images/gray.gif</image>
>   <clear/>
> </xbutton>
> 
> What's strange is that there is no adverse effect on my output, and the
> error message tends to be intermittent.  For example, this code does not
> generate the same warning:
> <?xml version="1.0" encoding="UTF-8"?>
> <xbutton>
>   <image height="22" width="45" alt="Reset">images/gray.gif</image>
> </xbutton>

will help but need some example xsl.

cheers, jim fuller


 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]