Subject: RE: [xsl] Value of <id> element not returned From: aspsa <aspsa@xxxxxxxxxxxxx> Date: Tue, 05 Apr 2005 02:17:24 -0400 |
Thanks for your feedback. Here's the weird part. Since the first set of replies, I tried EXACTLY the same thing I did yesterday. I loaded in the same files, unaltered, on the same system. This time it worked. Now, if there is a bug and it is intermittent, that will be one tough nut to crack. I reported the behavior to Altova. If I get a response, I'll be happy to post it here. Respectfully, ASP -----Original Message----- From: Huditsch Roman [mailto:Roman.Huditsch@xxxxxxxxxxxxx] Sent: Tuesday, April 05, 2005 2:17 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: AW: [xsl] Value of <id> element not returned Hi, I too tested it with Saxon 8.3 and everything works fine as reported before. Since I was curious I tried it with the built-in XSLT engine of Altova XMLSpy 2005 SP2 Professional Edition and it too produces the expected result. Therefore I think it is a problem just related to the restricted Home Edition. Result for Altova XSLT engine: <?xml version="1.0" encoding="UTF-8"?> <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> wbr, Roman > -----Urspr|ngliche Nachricht----- > Von: aspsa [mailto:aspsa@xxxxxxxxxxxxx] > Gesendet: Dienstag, 5. April 2005 03:39 > An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Betreff: RE: [xsl] Value of <id> element not returned > > Mike, Wendell, > > Thanks for your replies. I'll send it on over to Altova. > > > Respectfully, > > ASP > > -----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 > > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] Value of <id> element not, Huditsch Roman | Thread | [xsl] merge using keys, xslt 2.0, Pawson, David |
AW: [xsl] Value of <id> element not, Huditsch Roman | Date | Re: [xsl] Spelling Othello (Was: Re, Colin Paul Adams |
Month |