Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Export Recordset to XML file

LEGEND ,
Aug 20, 2007 Aug 20, 2007
I need to write form values to a database, then export those values to a XML
file and save it on the server. I'm not sure where to start on the
export-to-file process, can anyone get me started?

TOPICS
Server side applications
500
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2007 Aug 21, 2007
There is an XML export routine in the Developer Toolkit but you have to buy
that. XML files are simple text files and therefore they are fairly simple
to create using something like a stream writer.

The exact code however depends on the server language you are using.


--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Ted Dawson" <nobody@home.now> wrote in message
news:facgj3$2sn$1@forums.macromedia.com...
>I need to write form values to a database, then export those values to a
>XML file and save it on the server. I'm not sure where to start on the
>export-to-file process, can anyone get me started?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 21, 2007 Aug 21, 2007
I also beiieve you can get the Developer Toolbox's "Export to XML" functionality as a free, standalone DW extension if you register DW CS3.

Charles Nadeau
Dreamweaver
Adobe Systems
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2007 Aug 22, 2007
>I also beiieve you can get the Developer Toolbox's "Export to XML"
>functionality as a free, standalone DW extension if you register DW CS3.


I was under the impression that the export-to-file functionality that was
present in Interakt's product was removed when presented by Adobe... is that
not correct?



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2007 Aug 22, 2007
Ted Dawson wrote:
> I was under the impression that the export-to-file functionality that
> was present in Interakt's product was removed when presented by Adobe...
> is that not correct?

Correct. It doesn't save to file. However, writing a PHP routine to save
XML to file is trivial.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 22, 2007 Aug 22, 2007
>>
However, writing a PHP routine to save XML to file is trivial
>>

This is indeed quite easy to do, and you can find a pretty good "Converting Database queries to XML" - tutorial on Adobe Labs -- this page shows samples for several server models, the 2nd block is for PHP.

My favorite sample is actually the "manual" one, because it allows you to define the desired XML nodes yourself, and it allows for something very important what´s not supported by the current "Export to XML" extension -- wrapping the contents of a certain node in CDATA.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2007 Aug 22, 2007
> However, writing a PHP routine to save XML to file is trivial


OK, uh, I'm in ASP... any help there?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2007 Aug 22, 2007
LATEST
"Ted Dawson" <nobody@home.now> wrote in message
news:faijtm$bh0$1@forums.macromedia.com...
>> However, writing a PHP routine to save XML to file is trivial
>
>
> OK, uh, I'm in ASP... any help there?




OK, I see it..

Thanks to both of you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines