Bob,

Just so you know I ended up using this

TempStr := XMLTransform.TransformXML(RemainderStr, TranformationFile);

cdsMain.XMLData := TempStr;

Why that works and the following gives an error with the same data and
the same transformation file I don't know.

cdsMain.Data := XMLTransform.Data;

But I guess the workaround is to use the XMLData instead....

Sincerely,

Brad Gies
-------------------------------------
NLM Software
Southfield, MI, USA
------------------------------------- 





> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:delphi-talk-
> [EMAIL PROTECTED] On Behalf Of Bob Swart
> Sent: Monday, October 03, 2005 8:46 AM
> To: Delphi-Talk Discussion List
> Subject: Re: XML Transform
> 
> Hi Brad,
> 
> > No, There is no external schema. The only XML I'm using is what I
pasted
> > into the first message.
> 
> I'm sorry, I was interpreting the error message itself - didn't
realise
> it *was* the actual XML document. Duh!
> 
> >   </ERRORS
> 
> This tag must end with a > character as well. I assume that's there,
or
> not?
> 
> > The Transformation works perfectly in the XML Mapper utility, then I
> > save it and try to use the code above and get an invalid Data Packet
> > error.
> 
> Which could mean the transformation failed, or resulted in an empty
data
> packet.
> 
> > Brad Gies
> 
> Groetjes,
>            Bob Swart (aka Dr.Bob - www.DrBob42.com)
> 
> --
> Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
> Delphi 2005 self-study training books: http://www.drbob42.com/training
> __________________________________________________
> Delphi-Talk mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi-talk


This e-mail is intended only for the person or entity to which it is addressed 
and may
contain confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this 
information
by persons or entities other than the intended recipient is prohibited.  If you
received this message in error, please contact the sender immediately and delete
the material from your computer.
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to