473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Custom Document Formatting

Many years ago at IBM we had a text formatting language (DCF) which let
you specify all sorts of microcommands to a page formatter. Not
particularly exciting, but it was also a primitive programming language
and you could write your own GML tags (commands). In fact, you could
create a form or specification or any standard format by defining a set
of custom GML macros. The GML would specify content and the macros
would define the implementation.

Now GML hath begot SGML which begot XML and the same claims (or
promises) of custom tags is made for XML. But not being an XML wizard,
I wonder just how true that is. Is there a formatting language such
that I can do something like:

<XML document> --> <formatting language> --> <Microsoft Word> -->
<printed document>

(Feel free to substitute your favorite word processing program for
Micro$oft Word, but it needs to run on Windoze to be useful to me.)

Rick.

Apr 20 '06 #1
2 1449
ri******@gmail.com wrote:
Is there a formatting language such that I can do something like:

<XML document> --> <formatting language> --> <Microsoft Word> -->
<printed document>


The W3C's official path is: XML document -> XSLT stylesheet (formatting
language) -> XSL-FO document (page markup language) -> FO renderer
(Apache FOP or similar) -> printed document.

Other paths exist, including some that use LaTeX as an intermediate
representation and others that go through HTML and rely on a browser to
do the rendering. The nice thing about abstract markup is precisely that
you can process it in different ways depending on your needs.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Apr 20 '06 #2

Joseph Kesselman wrote:
The W3C's official path is: XML document -> XSLT stylesheet (formatting
language) -> XSL-FO document (page markup language) -> FO renderer
(Apache FOP or similar) -> printed document.


With the addendum that repeated XSLT transformations (with different
stylesheets) are anticipated for many of the more complex examples of
this.

"Cocoon" is a good search term, as well as "Apache fop"

Apr 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: E J | last post by:
Does anyone know of a way to wrap custom tags around selected text using execCommand or otherwise? I am developing a rich text editor for use in a web site and while there are a few decent ones...
5
by: Jason Butera | last post by:
I know that I can read/write custom properties of an object by using the following: Setting: document.all.customProp = "this"; Getting: document.all.customProp; Is there a way I can run...
3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
4
by: Brad Wood | last post by:
I need to build a document by adding sub docs to it. When I do so, I lose formatting. I've tried a suggestion I saw of simply setting the formatting a second time to no avail. Following is a...
1
by: Jeffrey Frabutt | last post by:
Sorry about the repost... but my original post had funky characters that was causing it to get truncated. I've got a rather simple custom web control that has an object delcared as...
4
by: Val | last post by:
I have a complex object that I need to serialize. Rather than rely on a standard routine, which is called during the serialization/deserialization, I would like to be able to use my own functions...
1
by: rlntemp-gns | last post by:
Re: Access 2003/Word 2003 I have about 100 motivational documents that I am wanting to import into a small database and put a front end on it that would allow the user to select one, read it and...
8
by: babyangel43 | last post by:
Hello, I have a query set up in Access. I run it monthly, changing "date of test". I would like this query to be merged with a Word document so that the cover letter is created in Word, the fields...
2
Pittaman
by: Pittaman | last post by:
Hello I am creating some crystal reports (for visual studio 2005) based on the content of certain .NET objects. I'm doing this in .NET 2.0. For one of them I'm using a Cross-table to summarize...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.