RE: [xsl] help on attribute name

Subject: RE: [xsl] help on attribute name
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 24 May 2005 11:11:51 -0400
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@xxxxxxxxxxxxxxxx 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 ======================================================================

Current Thread