PC Review


Reply
Thread Tools Rate Thread

Convert to XML

 
 
Designingsally
Guest
Posts: n/a
 
      23rd Oct 2009
Hi

I have a word document i m trying to convert it to XML Tags can someone help
me how to go about it??
--
I believe in Hope.

DesigningSally
 
Reply With Quote
 
 
 
 
Peter Jamieson
Guest
Posts: n/a
 
      23rd Oct 2009
> I have a word document i m trying to convert it to XML Tags can
someone help
> me how to go about it??


What do you mean by "XML Tags" ?
a. the WordML tags that Word uses to save all the document content and
formatting when you save as .docx or .xml format (e.g. from Word 2003
and later), or even .odf format if you have the necessary converter
b. "custom" tags, e.g. where you want to apply certain tags of your
own to certain pieces of text in the document
c. or what?

Broadly speaking with Word 2003 and later you can either
a. save in one of Word's predefined XML formats, or wrapped XML
formats, and in some cases you may be able to get the XML you really
want by using an XSL transform (XSLT) to convert that. or
b. define the XML schema you want to use, import it into Word's XML
Schema library, use that to mark up a document with your "custom" XML
tags, then get users to use that layout to enter their data. Then you
can save as "custom XML data" only, i.e. without any WordML. or
c. use something like VBA to export document text and add the
necessary XML tags.

None of these things - other than simply saving a document in an XML or
wrapped XML format - is particularly straightforward so it's probably
worth pinning down the requirement and having a look around for further
information first.

Peter Jamieson

http://tips.pjmsn.me.uk
Visit Londinium at http://www.ralphwatson.tv

On 23/10/2009 05:47, Designingsally wrote:
> Hi
>
> I have a word document i m trying to convert it to XML Tags can someone help
> me how to go about it??

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Convert Columns of Sensitive Information, and then convert back... =?Utf-8?B?V2lsbGlhbSBFbGVyZGluZw==?= Microsoft Excel Programming 1 12th Oct 2006 09:37 PM
IsNumeric: Convert.ToInt32 vs. Convert.ToInt64 sck10 Microsoft ASP .NET 4 3rd Sep 2006 10:40 PM
Convert file to binary, send it over the network, and convert it b =?Utf-8?B?Q2hld2ll?= Microsoft Dot NET 0 9th Sep 2005 06:04 PM
Convert file to binary, send it over the network, and convert it b =?Utf-8?B?Q2hld2ll?= Microsoft Dot NET Framework 1 9th Sep 2005 06:01 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m =?Utf-8?B?YWdlbmRhOTUzMw==?= Microsoft Excel Misc 8 20th Jan 2005 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.