Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Macros in XMLSpy

Thread Tools

Macros in XMLSpy

Michael Cousins
Posts: n/a
This is perhaps not the best newsgroup for this, but I've had no response
from the XMLSpy forum. So here goes...

I have some XML that looks a bit like this:

<!DOCTYPE ListOfOrder SYSTEM "SiebelMessage.dtd">

As you can see, there is a nested XML structure in the EventData tag as
CDATA. I need to write a macro to either strip off the surrounding XML, or
extract the EventData and create a new XML document. I also need a macro to
package it back up again.
I've been floundering about a bit. I'm not too familiar with VB or macros,
so I was wondering if anyone can help? Even if someone can point me towards
some useful documentation as the XMLSpy help doesn't go into too much

Thanks in advance!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
XMLSpy: copy data from EXCEL,paste XMLSPY 2004 KaR XML 0 11-24-2008 02:58 PM
Ann: Altova announces FREE XMLSPY Home Edition and releases new version 2004r4 of XMLSPY, MAPFORCE, and STYLEVISION Altova Announcements XML 0 05-25-2004 05:29 PM
Explanation of macros; Haskell macros Python 80 11-07-2003 02:22 AM
Re: Explanation of macros; Haskell macros Python 5 11-01-2003 01:09 AM
Re: Explanation of macros; Haskell macros Python 1 10-07-2003 04:07 PM