POI does not understand Excel 2003 XML Maps or tags. It's a new feature in
Excel 2003.

But you could use POI in combination with some XML parser such as SAX or
JAXP. Pass the XML document through SAX, then use POI to populate the
workbook. POI provides no direct support for this.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 2:40 AM
To: POI User List
Subject: XML import for Excel 2003

Hi

I think this is a bit too far fetched for the time being, but I'll give it
a try just the same. In excel 2003 it is possible to import an XML file
into excel, having an XML map which maps the xml tags to certain columns.

With COM this is done the following way:

ActiveWorkbook.XmlMaps("Contact_Map").Import URL:= _
        "C:\XML Testing\ContactData.xml"

Is there a way how to do it with POI? Or at least in any other way without
using COM ?

Thanks!
Edward



_________________________________________________________________
 Send your loved ones Easter Eggs and Figolli this Easter. Shop online at
http://shop.di-ve.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to