View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman
 
Posts: n/a
Default what are the tags in which text placed in ms word?

That's because there aren't any tags. WordPerfect uses tags, RTF uses
tags, HTML uses tags, XML uses tags, but Word does *not* use tags.

If you have Word 2003, you can save the document in RTF or in XML (if
you have a valid schema) and you can run your program against that
file. For standard .doc files, forget it.

If you want to know why, use Google to look up the term "compound OLE
document".

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Sun, 21 May 2006 03:51:02 -0700, arsham
wrote:

I want to extract text from doc files in a program with php and i dont know
what the tags in which text placed in ms word are.