473,322 Members | 1,398 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

generate xml without need to persist it in a file?

hi
i get data with ado
i need to get a xml string from the recordset

how can i get it
without having to persist the recordset
in a (xml) text file

is there a simple way ?

thanks !!
ks

Mar 20 '07 #1
5 1757
that is,
without having to do
my own function for :
- getrows
- scan array
- format text
- merge
- end scan
- return xml

because
i think that could be more expensive
(in computational terms)

thanks
ks

"keyser soze" <ba*********@hotmail.comescribió en el mensaje
news:ek**************@TK2MSFTNGP04.phx.gbl...
| hi
| i get data with ado
| i need to get a xml string from the recordset
|
| how can i get it
| without having to persist the recordset
| in a (xml) text file
|
| is there a simple way ?
|
| thanks !!
| ks
|
|
|
Mar 20 '07 #2
Look at the code in the "Data Island" sample here:
http://www.davidpenton.com/testsite/tips/

keyser soze wrote:
that is,
without having to do
my own function for :
- getrows
- scan array
- format text
- merge
- end scan
- return xml

because
i think that could be more expensive
(in computational terms)

thanks
ks

"keyser soze" <ba*********@hotmail.comescribió en el mensaje
news:ek**************@TK2MSFTNGP04.phx.gbl...
>hi
i get data with ado
i need to get a xml string from the recordset

how can i get it
without having to persist the recordset
in a (xml) text file

is there a simple way ?

thanks !!
ks
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 20 '07 #3
thanks bob,

but i need to "response.write" a xml string

it's strange that there is no method
to get a string from the xmldom object

in fact,
there is a method to construct the xmldom object
from a string , with "loadXML"

if i must persist xml strings
one little problem is the xml file name
but a major one, is to have a kind of garbage
to delete files

there is no other way ?
am i wrong ?

thanks ! ks

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomescribió en el mensaje
news:%2****************@TK2MSFTNGP02.phx.gbl...
| Look at the code in the "Data Island" sample here:
| http://www.davidpenton.com/testsite/tips/
|
| keyser soze wrote:
| that is,
| without having to do
| my own function for :
| - getrows
| - scan array
| - format text
| - merge
| - end scan
| - return xml
| >
| because
| i think that could be more expensive
| (in computational terms)
| >
| thanks
| ks
| >
| >
| >
| "keyser soze" <ba*********@hotmail.comescribió en el mensaje
| news:ek**************@TK2MSFTNGP04.phx.gbl...
| >hi
| >i get data with ado
| >i need to get a xml string from the recordset
| >>
| >how can i get it
| >without having to persist the recordset
| >in a (xml) text file
| >>
| >is there a simple way ?
| >>
| >thanks !!
| >ks
|
| --
| Microsoft MVP -- ASP/ASP.NET
| Please reply to the newsgroup. The email account listed in my From
| header is my spam trap, so I don't check it very often. You will get a
| quicker response by posting to the newsgroup.
|
|
Mar 20 '07 #4
keyser soze wrote:
thanks bob,

but i need to "response.write" a xml string
Huh? The example shows how to do it!
>
it's strange that there is no method
to get a string from the xmldom object
Again, huh!?!?

What about

response.write xmldoc.xml

??
in fact,
there is a method to construct the xmldom object
from a string , with "loadXML"

if i must persist xml strings
one little problem is the xml file name
but a major one, is to have a kind of garbage
to delete files

there is no other way ?
am i wrong ?

thanks ! ks

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomescribió en el mensaje
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Look at the code in the "Data Island" sample here:
http://www.davidpenton.com/testsite/tips/

keyser soze wrote:
>>that is,
without having to do
my own function for :
- getrows
- scan array
- format text
- merge
- end scan
- return xml

because
i think that could be more expensive
(in computational terms)

thanks
ks

"keyser soze" <ba*********@hotmail.comescribió en el mensaje
news:ek**************@TK2MSFTNGP04.phx.gbl...
hi
i get data with ado
i need to get a xml string from the recordset

how can i get it
without having to persist the recordset
in a (xml) text file

is there a simple way ?

thanks !!
ks

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 20 '07 #5
ok ok ok
i didn't that piece
....WOW!
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomescribió en el mensaje
news:uz**************@TK2MSFTNGP03.phx.gbl...
| keyser soze wrote:
| thanks bob,
| >
| but i need to "response.write" a xml string
|
| Huh? The example shows how to do it!
| >
| it's strange that there is no method
| to get a string from the xmldom object
| >
|
| Again, huh!?!?
|
| What about
|
| response.write xmldoc.xml
|
| ??
|
| in fact,
| there is a method to construct the xmldom object
| from a string , with "loadXML"
| >
| if i must persist xml strings
| one little problem is the xml file name
| but a major one, is to have a kind of garbage
| to delete files
| >
| there is no other way ?
| am i wrong ?
| >
| thanks ! ks
| >
| "Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomescribió en el mensaje
| news:%2****************@TK2MSFTNGP02.phx.gbl...
| >Look at the code in the "Data Island" sample here:
| >http://www.davidpenton.com/testsite/tips/
| >>
| >keyser soze wrote:
| >>that is,
| >>without having to do
| >>my own function for :
| >>- getrows
| >>- scan array
| >> - format text
| >> - merge
| >>- end scan
| >>- return xml
| >>>
| >>because
| >>i think that could be more expensive
| >>(in computational terms)
| >>>
| >>thanks
| >>ks
| >>>
| >>>
| >>>
| >>"keyser soze" <ba*********@hotmail.comescribió en el mensaje
| >>news:ek**************@TK2MSFTNGP04.phx.gbl...
| >>>hi
| >>>i get data with ado
| >>>i need to get a xml string from the recordset
| >>>>
| >>>how can i get it
| >>>without having to persist the recordset
| >>>in a (xml) text file
| >>>>
| >>>is there a simple way ?
| >>>>
| >>>thanks !!
| >>>ks
| >>
| >--
| >Microsoft MVP -- ASP/ASP.NET
| >Please reply to the newsgroup. The email account listed in my From
| >header is my spam trap, so I don't check it very often. You will get
| >a quicker response by posting to the newsgroup.
|
| --
| Microsoft MVP -- ASP/ASP.NET
| Please reply to the newsgroup. The email account listed in my From
| header is my spam trap, so I don't check it very often. You will get a
| quicker response by posting to the newsgroup.
|
|
Mar 20 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tim:. | last post by:
Hi Can someone tell me how I generate a new XML file that I can then use with an XSLT file. I am trying to use an XML file generated from Microsoft Project or even better generate an XML file from...
0
by: Almoni | last post by:
Hi, I have a few .xsd files that include each other in the following way: <!-- lets call the main schema file AA.xsd and it includes BB.xsd inside it --> <xs:schema...
7
by: Rathtap | last post by:
I want to write a C# application (lets call it Generator) that will receive an argument(patient account number) and dynamically generate a series of linked HTML files (claim information, payments,...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
0
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional...
0
by: hon123456 | last post by:
Dear all, The following is some lines from app.config <connectionStrings> <add name="NoticeBoard.My.MySettings.MRP6ConnectionString" connectionString="Data Source=COMELONGSRV04;Initial...
0
by: Avon | last post by:
Hi friends, I am very sorry for my not perfect English. I have one question, I am using David Bauer's DynamicControlsPlaceholder to dinamically generate controls and I am tryig to generate...
82
by: robert bristow-johnson | last post by:
here is a post i put out (using Google Groups) that got dropped by google: i am using gcc as so: $ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure...
1
by: PerumalSamy | last post by:
HI I done a project in asp.net with VB coding and sql server 2005 as back end. Now i need to generate an auto email everyday for current date based on the date field in my database table . ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.