xsl-list
[Top] [All Lists]

RE: help on attribute name

2005-05-24 08:11:51
At 09:34 AM 5/24/2005, was written:
> When I try to do <xsl:attribute name="{$id}">...
> I get  on that line the following error:
> Column #29; Illegal value used for attribute name:

You can't use AVTs here

According to the XSLT Spec [7.1.3] you should be able to use an AVT.

The processor might have a bug, or perhaps (more likely) $id resolves to something that doesn't follow the rules for legal names. Raman, what will $id actually be?

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>