Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use case question for xsl fo

Status
Not open for further replies.

jjohnn

Technical User
Feb 11, 2003
43
US
I have a simple task that I believe can be accomplished with xml-fo. I hope somebody can shed some light on how to approach this, as I am newbie with XML

I have a repository of excerpts, each a few paragraphs long, each with a title. I need to make custom documents, with formatting (bold, etc.) that contain different sets of these excerpts, and customized with a header ("Customized for John Smith", "Customized for Mary Jones").

If they could just be text documents, then I could make homemade tags and parse the repository with perl, harvesting just the excerpts I need. Becuse of the need for formatting, and because the excerpts are now in MS Word, I briefly looked at WIN32 perl and Word macros, but that approach seems not very do-able for me.

It seems that I could use XML tags for <title> and <body text>; I parse the document, retrieving just those excerpts I want. Then I need to fomat and print (or send) the resulting collection of excerpts. How do I do that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top