Re: Maybe it's a bug
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Mon, 21 Aug 2006 06:51:07 -0400
Lorry Astra wrote:
Thank u for your answer, Mark.
1.Although Recordset usually don't be used to parse xml, i think the
recordset should not to tell me the result is 1 . it should be 3.
You cannot alter the structure of the xml and expect ADO to handle the
result correctly.
2. The reason why i revise the structure is that: i wanna sort the
xml. And i used XSL to sort my XML. Before i sorted it, the style was
"<z:row .../>", but after i sorted it by using XSL, the style was
changed to "<z:row ....></z:row>"
Why aren't you using the recordset's Sort method?
3. And u know, i use the recordset to fill a grid. so if the
recordcount is 1 , the grid will show only 1 row instead of 3. it
should list 3 rows. that's correct.
Bottom line: you cannot alter the structure of the xml and expect ADO to
handle the result correctly.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: Maybe it's a bug
- From: Lorry Astra
- Re: Maybe it's a bug
- From: Mark J. McGinty
- Re: Maybe it's a bug
- References:
- Re: Maybe it's a bug
- From: Mark J. McGinty
- Re: Maybe it's a bug
- Prev by Date: Re: parsing xml
- Next by Date: Re: Maybe it's a bug
- Previous by thread: Re: Maybe it's a bug
- Next by thread: Re: Maybe it's a bug
- Index(es):
Relevant Pages
|
|