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 / Long Documents / August 2003

Tip: Looking for answers? Try searching our database.

Word 2003 Beta: XML tags vs. character styles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Brow - 29 Jul 2003 13:39 GMT
I am working with Word 2003 Beta 2.

If I am editing an XML document and I select an empty tag
pair (like <emphasis></emphasis>) and press Control+B to
make it Bold, and then place the caret between these
elements and start typing, I'd like the typed characters
to be Bold but they come in as non-Bold.

I think most end-users will expect these characters to
come in as Bold.  As an example... Users may create XML
templates where the user must fill in the contents of
empty tags.  They may want to apply character styles to
the empty tags so the user's text appears styled.

Perhaps this is a behavioral change that can be made
before Word 2003 is officially released.

Thanks

Sam Brow
Robert M. Franz (RMF) - 29 Jul 2003 14:23 GMT
Hi Sam,

> I am working with Word 2003 Beta 2.
>
[quoted text clipped - 3 lines]
> elements and start typing, I'd like the typed characters
> to be Bold but they come in as non-Bold.

just curious: are you opening an XML-file as a textfile (which it is) in
Word 2003? I would expect the same thing as you, but if this file is
later on saved in a text format again, all style (and paragraph/text)
formatting information would be skipped anyway, no?

2cents
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

Sam Brow - 31 Jul 2003 20:31 GMT
>just curious: are you opening an XML-file as a textfile (which it is) in
>Word 2003?

No, Word 2003 supports editing of native XML files.  It
parses the XML and shows the start/end tags inline as
little stylized graphics (that look like tags).

I would expect the same thing as you, but if this file is
>later on saved in a text format again, all style (and paragraph/text)
>formatting information would be skipped anyway, no?

Yes.  When Word 2003 saves an XML file, any "formatting"
you've applied will be dropped *unless* you save in WordML
format.  WordML is basically your original XML plus gobs
of namespaced markup that allows it to remember the
formatting the next time you bring it in.  It is still
100% pure XML.  Pretty cool stuff.

My app will be applying formatting to an XML doc in memory
in Word 2003 and doesn't care that it will get lost on
save.

Thanks

-Sam
Robert M. Franz (RMF) - 01 Aug 2003 12:55 GMT
Hi Sam,

> >just curious: are you opening an XML-file as a textfile
> (which it is) in
[quoted text clipped - 3 lines]
> parses the XML and shows the start/end tags inline as
> little stylized graphics (that look like tags).

ahh, thanks... time to try to get hold of a Beta-2003 after all here,
then! .-)

I'm off for a week now so I hope you find someone else from the MVPs to
comment on this behaviour and/or pass it along.

Greetinx from good old Europe
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

 
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.