473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to embedd Word doc in XML

Hi!

I'm reading data from an SQLServer database, storing tabelnames and
fields as tags with values and so on. One of the fields I'm storing in
the XML file may contain a Worddoc. I can't use CDATA, and therefor
have to use base64. But when I try to store this value I get a parse
error, this because the Word doc is not binary. I'm using a DOM object
when doing this.
a bit of the code I use:
....
Set xmlDOMDocument = New MSXML2.DOMDocument40
xmlDOMDocument.loadXML "<DOCUMENTS />"
Set oRoot = xmlDOMDocument.documentElement
Set oElement = xmlDOMDocument.createElement("WORDDOC")
oElement.DataType = "bin.base64"
oElement.nodeTypedValue = rs("Document")
....

Greatful for any help on this.

-Art
Jul 20 '05 #1
0 1239

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: mh | last post by:
Hi everybod who knows the *.dll to embedd the command prompt into C#, what i want to do, is make a graphical command prompt based on System.Windows.Forms Thanks for helping
0
by: Nuno Magalhaes | last post by:
How do I embedd the MediaPlayer (msdxm.ocx) in a Windows Form using C#? I do something like the code below: Player=new WindowsMediaPlayer();...
1
by: Nuno Magalhaes | last post by:
How do I embedd an ocx control in a windows form in C#? Does it inherit from Microsoft.Windows.Forms.Form? Thanks for any response to this newbie question, Nuno Magalhaes.
1
by: Anamika | last post by:
I am trying to embedd Ms Word object in asp.net application and retrieve from & save back to database. Anybody done this before ? I would appreciate if anybody send some sample code. TIA.
1
by: Mike TI | last post by:
April 18, 2006 Hi all I have built a small application in VB Net 2005 that uses SQL Express 2005. Now I want to create a 'Setup Procedure' that should install the application as well as SQL...
0
by: janithn | last post by:
rss- does anyone know how to embedd rss into my web template for a news site? basically im creating a news website and i want to use RSS to put in articles. Im using MS Frontpage. Does anyone...
0
by: Preeti | last post by:
Hi All I am new to WPF. I need to embedd a flash video on a WPF screen. But I think mediaelement does not support that. Can anyone tell me what do I need to be able to embedd a flv video on a...
3
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
Hi I need to store some configuration settings in a db using an 2 fileds ID Field and String Field The ID Field is a unique key and the string holds a xml string that store my settings...
6
by: ankitkhare | last post by:
Hi, I have this javascript which i am trying to embedd in my C# code,i am not sure whether it is even possible or not! If it is possible then how can i do it?Any document or links will be...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.