Hi ASP,
I was able to run your stylesheet on the data you provide, and got the
output you expect:
<root>
<countMethod>
<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>
</countMethod>
</root>
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.
Cheers,
Wendell
At 03:34 PM 4/4/2005, you wrote:
Thanks for the reply. Below is the stylesheet and complete XML document. I'm
using the XSLT processor built into Altova's XMLSpy (Home Edition, version
2005 sp2).
======================================================================
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>
--~--