This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
No Subject
- To: xsl-list at lists dot mulberrytech dot com
- From: Betty dot Risher at Jeppesen dot com
- Date: Wed, 20 Jun 2001 11:45:50 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Jeni,
Yes, that was what the problem was! I am kicking myself repeatly as I type. I
don't know why XMLSPY never flagged that as a syntax error, and I looked at that
code until my eyes were going crossed!
Thanks Again, I was going nuts trying to find the reason for the problem, just
me with "fat finger" typing. OOps...
Betty Risher
************************************************************
Hi Betty,
> I was hoping to get some help with an issue I'm having with
> xsl:attribute-set. I am trying to set up a generic attribute that I
> can use to change the background color based on a test of an
> existing attribute (chg). When chg = anything but 'U' or 'u' then I
> want the background color to change to lavender.
If the XSLT that you're using is exactly the XSLT that you posted,
then your problem is that you've missed the final 's' from
'xsl:use-attribute-sets' (it can be a list of several attribute sets,
doesn't have to name just one, hence the plural). Really your
processor should tell you that kind of thing. When I try it in Saxon,
it adds the style attribute fine after making that change.
Cheers,
Jeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list