Groups | Blog | Home
all groups > dotnet xml > january 2005 >

dotnet xml : Binary data question...


Luis
1/5/2005 3:08:42 PM
Hi all,

Happy new year :))

I need to save a FILE (doc, zip, pdf...) into XML. ¿Can I save this? I find
in google some examples, and use binary node... this is the best solution??
and can I save everytypes of files?...


Thanks...

PD.: Sorry for my english... :)

Oleg Tkachenko [MVP]
1/9/2005 8:06:11 PM
[quoted text, click to view]

The only solution is to encode bynary data (e.g. using Base64).
XmlTextWriter class has appropriate WriteBase64() method.

--
Oleg Tkachenko [XML MVP, MCP]
AddThis Social Bookmark Button