🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18309

Re: Excel import

#18309
From: Stu Bloom
Date: Sat, 05 Apr 2003 21:32
34 lines
1880 bytes

      Another thought would be to have the Access database emit XML--I don't
      remember if Access can do this




Depends on the version. Access 2002 can. Select the table or query, then choose "Export" from the File menu and designate the XML file type. Here's an example of the result:

<?xml version="1.0" encoding="UTF-8" ?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata">
<Events>
  <ItemID>1</ItemID>
  <Event>Evening Story Hour</Event>
  <StartDateTime>2003-01-27T18:30:00</StartDateTime>
  <Place>Marseilles Library</Place>
  </Events>
- <Events>
  <ItemID>2</ItemID>
  <Event>Preschool Story Hour</Event>
  <StartDateTime>2003-01-29T10:00:00</StartDateTime>
  <Place>Marseilles Library</Place>
  </Events>
- <Events>
  <ItemID>3</ItemID>
  <Event>Marseilles Blood Drive</Event>
  <StartDateTime>2003-01-30T12:00:00</StartDateTime>
  <EndDateTime>2003-01-30T17:00:00</EndDateTime>
  <Place>First Congregational Church, 255 E. Bluff St.</Place>
  </Events>
  </dataroot>

You can also export schemas and format the date by associating an XSL file.
Technical Details
Message-ID: <1de88449.5@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de88449.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,443dc24c5e53e228
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-05 13:37:28 PST
From: "Stu Bloom" <stu@earlvillepost.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Excel import
Message-ID: <1de88449.5@WebX.la2eafNXanI>
Date: Sat, 5 Apr 2003 13:32:00 -0800
References: <1de88449.-1@WebX.la2eafNXanI>
Lines: 32
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit