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