[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Value of <id> element not returned

Subject: RE: Value of <id> element not returned
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 04 Apr 2005 17:32:05 -0400
RE:  Value of <id> element not returned
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@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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.