Bengt,
> Is there some functionality in asinet xbase xb2net ??
> to transform this part of a XML file
> to a binary file BXQ.BIN ???
You can do this with Xb2.NET. The secret is in the fact that the <data>
tag is base64 encoded.
aXml := xbXML2Array( cXMLDocument )
cData := xbXMLGetNode( aXml, "Data" )
cData := xbBase64Decode( cData )
you might want to fetch the filename from the
xml file as well
nH := FCreate( 'BQX.BIN' )
if nH <> 0
FWrite(nH,cData)
FClose(nH)
endif
Regards,
Phil Ide
***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase *
***************************************
We've been through so much together and most of it was your fault!