Re: [xsl] illegal xhtml attributes?

Subject: Re: [xsl] illegal xhtml attributes?
From: cutlass <cutlass@xxxxxxxxxxx>
Date: Sun, 01 Apr 2001 17:19:08 +0100
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



Current Thread