RE: [xsl] Value of <id> element not returned

Subject: RE: [xsl] Value of <id> element not returned
From: aspsa <aspsa@xxxxxxxxxxxxx>
Date: Mon, 04 Apr 2005 21:39:01 -0400
Mike, Wendell,

Thanks for your replies. I'll send it on over to Altova.



-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
Sent: Monday, April 04, 2005 5:32 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Value of <id> element not returned


I was able to run your stylesheet on the data you provide, and got the
output you expect:

     <Name>1, Frisby, 48392</Name>
     <Name>10, Backstayge, 02718</Name>
     <Name>2, Attired, 00218</Name>
     <Name>300, McGoon, 27318</Name>
     <Name>31, Reckonwith, 02930</Name>

So all I can suggest is that you send it to Altova to look at. Maybe you've
found a bug.

In some contexts, "id" is a reserved word (for example, there's an XPath
function "id()"), although in this case you should be fine -- there's no
rule against naming an element or attribute "id". But the fact might
account for occasional bugginess (though I'd hope not).

Anyway -- your code works properly in Xalan and in Saxon, the two
processors I tested it in.


At 03:34 PM 4/4/2005, you wrote:
>Thanks for the reply. Below is the stylesheet and complete XML document.
>using the XSLT processor built into Altova's XMLSpy (Home Edition, version
>2005 sp2).

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
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