Convert to XML

D

Designingsally

Hi

I have a word document i m trying to convert it to XML Tags can someone help
me how to go about it??
 
P

Peter Jamieson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top