Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VBA to Element Based XML

Hello.

Can you write a VBA routine that directly creates an element based XML
document? I have sample coding and I can definitely do an attribute based
XML document and then using an XSL stylesheet, make it element based. I was
just wondering if you could make it element based from the start.

My second question is if so, I am having trouble setting the Range value.
Right now, attribute based I have this:

Call objHeaderPropNode.setAttribute("comm",
CStr(Sheets("Input").Range("BV3").Value))

This works, but is there a way to do the same thing and make it element
based? Any help would be appreciated.

Dan

P.S. and yes, I am way way over my head in this. If anyone can recommend
some good VBA books that have some functional code of converting Excel
documents to XML docs, I would be ecstatic.

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 170
Default VBA to Element Based XML


"Dan Gesshel" wrote in message
...
Hello.

Can you write a VBA routine that directly creates an element based XML
document? I have sample coding and I can definitely do an attribute based
XML document and then using an XSL stylesheet, make it element based. I

was
just wondering if you could make it element based from the start.


You should be able to use the Microsoft XML engine for VB6
thats downloadable from msdn

http://www.microsoft.com/downloads/d...displaylang=en

Keith


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Element mapping Kathy F-RIDOT Excel Worksheet Functions 0 January 16th 10 06:16 PM
look for missing element SteveDB1 Excel Worksheet Functions 1 August 7th 08 04:01 PM
hidden element Stas Excel Worksheet Functions 1 December 6th 05 11:38 AM
hidden element Stas Excel Worksheet Functions 0 December 6th 05 11:20 AM
Mapping an XML element more than once?? AStarWithin Excel Discussion (Misc queries) 1 May 3rd 05 12:39 PM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"