[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Suggestions

  • From: Scott Deboy <SCODEB@s...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Tue, 13 Apr 1999 15:22:29 -0700

signature block suggestions
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
relational database.  

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
block, etc.

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,
signature, etc.

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
list?

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
architecture.

Any pointers are appreciated - 
Scott Deboy
SAIF Corporation


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.