XML Document and Custom "Autoformat as you type"

R

Robert Phillips

I want to create a schema-based word template. As the user types
information in certain sections (xml tags) of the document, I would like
each line of text to be contained within a specified xml tag. I'm thinking
I need to react to some type of "line-wrap" event. This way the user
doesn't have to specifiy a new line each time.

This is for a legal document scenario, so the line on which the text appears
is part of the content, it's not just a "display" issue.

What is the best mechanism to do this? I'm thinking a smart tag, but I'm
not sure what input would initiate the smart tag to wrap the new line in a
specified xml tag.

I was also thinking of utilizing the mechanism word uses for its "Autoformat
as you type" functionality. This seems like smart tag functionality, but I
wasn't sure if there are other ways to do this.
 

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