Lists Home |
Date Index |
- From: Scott Deboy <SCODEB@saif.com>
- To: "'email@example.com'" <firstname.lastname@example.org>
- Date: Tue, 13 Apr 1999 15:22:29 -0700
I'm new to XML (reading the spec and learning about DTDs etc.) and I was
hoping someone could point me in the right direction on an idea I have to
replace Word macros w/a 3-tier system using XML.
Example: I want to build a letter macro using XML.
The letter is mostly static text. An address is required, as well as a
couple of other fields. Also, the letter has a couple of optional
paragraphs that I need to prompt the user to answer.
My idea (obviously lots of gaps but bear with me please):
First I would store the static text and optional text in XML format in a
Next I would define the structure of the macro in XML format as well -
basically a roadmap of what components need to be combined and in what order
to complete the document: the boilerplate, optional paragraphs, signature
The optional paragraph XML would also contain the question to ask the user,
for example: Select a color: blue, red, green.
The macro structure would reference the appropriate fields in the database.
The user is prompted for fields unique to this letter, as well as address,
This response is formatted in XML and sent to an app server.
The app server could parse through the user's response, parse through the
macro 'roadmap', retrieve text and other data from the database, combine the
pieces of the document and return the completed document to the client.
This would also allow the app server to work as the engine for a batch
letter processor as well.
I will want to make this app server handle any of the macros we currently
create in Word.
Any big mistakes here? Any pointers? Should I be sending this to a different
Should I be thinking about using XQL or do I need XSL? there are so many
acronyms I haven't had a chance to figure out what would be useful in this
Any pointers are appreciated -
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)