Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2007

Tip: Looking for answers? Try searching our database.

How can I use "Find (and replace)" to locate an xml tag?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
optiman - 11 Mar 2007 22:11 GMT
Trying to write a macro in Word 2007 to edit .xml files. How can I use "Find"
to search for a specific xml tag name? It appears that "Find" ignores the tag
names in an xml file when searching.
Rob - 15 Mar 2007 19:52 GMT
Why not use a regular text editor. If you need macros then try Ultra Edit or
Edit Plus.
optiman - 16 Mar 2007 14:59 GMT
> Why not use a regular text editor. If you need macros then try Ultra Edit or
> Edit Plus.

Because it is another piece of software that I would have to buy, and I do
not do enough code editing to see the need for a specialized editor, when
Word 2007 is already supposed to be able to edit XML code.

The better question is why Word's developers apparently overlooked the
capability of searching for tags, even though they included provisions to
display them?

Thanks for the editor suggestions. It looks like I will be purchasing one of
them.
Graham Mayor - 16 Mar 2007 15:18 GMT
Does the script editor still work in 2007 - ALT+SHIFT+F11? If it does you
can use replace there.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

>> Why not use a regular text editor. If you need macros then try Ultra
>> Edit or Edit Plus.
[quoted text clipped - 10 lines]
> Thanks for the editor suggestions. It looks like I will be purchasing
> one of them.
optiman - 16 Mar 2007 15:59 GMT
> Does the script editor still work in 2007 - ALT+SHIFT+F11? If it does you
> can use replace there.

No. ALT+SHIFT+F11 does nothing. Word 2007 Help Search yields no reference to
"script editor".
Graham Mayor - 16 Mar 2007 16:08 GMT
Pity :(

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

>> Does the script editor still work in 2007 - ALT+SHIFT+F11? If it
>> does you can use replace there.
>
> No. ALT+SHIFT+F11 does nothing. Word 2007 Help Search yields no
> reference to "script editor".
Klaus Linke - 16 Mar 2007 22:18 GMT
Yep, it was removed :-(
That also means that code which uses HTMLProject no longer works in 2007.

Klaus

> Pity :(
>
[quoted text clipped - 3 lines]
>> No. ALT+SHIFT+F11 does nothing. Word 2007 Help Search yields no
>> reference to "script editor".
Graham Mayor - 17 Mar 2007 08:37 GMT
The more I hear of Word 2007, the more it appears to be the wrong answer to
a question no-one asked :(

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Yep, it was removed :-(
> That also means that code which uses HTMLProject no longer works in
[quoted text clipped - 16 lines]
>>> No. ALT+SHIFT+F11 does nothing. Word 2007 Help Search yields no
>>> reference to "script editor".
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.