D
DD
I'm looking for recommendations on creating and managing conditional content
in Word. Examples may be:
1. I have a resume that has slightly different content for different
industries' jobs I'm applying for. For example, in my last job in the
"Experience" section, I may want to put three bullet points with text for my
"manufacturing industry" resume and two of the same bullets of from the first
list and another new bullet point (also hiding one of the bullet points from
the first resume) for my "financial industry" resume. If I want to add a 3rd
industry to apply for, such as the medical industry, maybe I just want to
replace certain words in an existing financial industry bullet, for example,
replacing the word "Sarbanes-Oxley" with "HIPAA".
2. I am creating a course on a subject. The end result will be 3 seperate
documents - Instructor Guide, Participant Guide and Classroom Logistics
Guide. The Instructor Guide will include the Participant Guide and Classroom
Logistics Guide, as well as instructor delivery notes (in seperate blocks of
content, like "Say This", "Common Questions from Participants", "How to Run
this Activity"). The Classroom Logistics Guide will just be one or two sheets
that may need to be saved seperately so it can be sent to another person if
they are arranging part of the classroom logistics.
Rather than perform a huge amount of copy/paste/delete and try to keep all
the data current, I'm looking to just keep all this information in a single
document - any outputted documents will be the result of editing the single
document template.
I've read some about XML and XSLT, but I don't know if they are what I'm
looking for, because it appears that XSLT will reformat the document, when
all I want is content switched out or removed/added based on content type -
all formatting should stay as is. Is this something I can just tag certain
content with an XML tag and then run a VBA routine against to remove that tag
from the view of the rest of the document? The "Memo" and "Resume" XML
samples for Word on MSDN weren't helpful. Bill Coan has a good example I
looked at on wordsite.com, but his is all about formating for HTML (but the
key idea is there as to what I'm looking for).
I've also considered using "hidden text" inside of a Content Control and
then just using VBA to hide all parts I don't need via the Control's tag, but
that's just a binary choice of include/don't include and I need conditional
logic.
Any help in this regard is deeply appreciated - pointers, samples, real
world examples, a smack in the face...
DD
in Word. Examples may be:
1. I have a resume that has slightly different content for different
industries' jobs I'm applying for. For example, in my last job in the
"Experience" section, I may want to put three bullet points with text for my
"manufacturing industry" resume and two of the same bullets of from the first
list and another new bullet point (also hiding one of the bullet points from
the first resume) for my "financial industry" resume. If I want to add a 3rd
industry to apply for, such as the medical industry, maybe I just want to
replace certain words in an existing financial industry bullet, for example,
replacing the word "Sarbanes-Oxley" with "HIPAA".
2. I am creating a course on a subject. The end result will be 3 seperate
documents - Instructor Guide, Participant Guide and Classroom Logistics
Guide. The Instructor Guide will include the Participant Guide and Classroom
Logistics Guide, as well as instructor delivery notes (in seperate blocks of
content, like "Say This", "Common Questions from Participants", "How to Run
this Activity"). The Classroom Logistics Guide will just be one or two sheets
that may need to be saved seperately so it can be sent to another person if
they are arranging part of the classroom logistics.
Rather than perform a huge amount of copy/paste/delete and try to keep all
the data current, I'm looking to just keep all this information in a single
document - any outputted documents will be the result of editing the single
document template.
I've read some about XML and XSLT, but I don't know if they are what I'm
looking for, because it appears that XSLT will reformat the document, when
all I want is content switched out or removed/added based on content type -
all formatting should stay as is. Is this something I can just tag certain
content with an XML tag and then run a VBA routine against to remove that tag
from the view of the rest of the document? The "Memo" and "Resume" XML
samples for Word on MSDN weren't helpful. Bill Coan has a good example I
looked at on wordsite.com, but his is all about formating for HTML (but the
key idea is there as to what I'm looking for).
I've also considered using "hidden text" inside of a Content Control and
then just using VBA to hide all parts I don't need via the Control's tag, but
that's just a binary choice of include/don't include and I need conditional
logic.
Any help in this regard is deeply appreciated - pointers, samples, real
world examples, a smack in the face...
DD