WebMacro is not HTML specific. The current version has a parser bug
that inserts some unnecessary newlines--irrelevant in HTML and XML,
but a problem with other formats. Once that's fixed, I don't
see why you couldn't use it with other formats.

I might have to extend the syntax slightly to allow the use of delimiters
other than { and } in languages where those characters are meaningful.
Aside from that minor change, why not?

WebMacro is a macro processing system designed to extract properties from
Java objects and insert them into a text. It really doesn't care what the
underlying text is. Word is binary, but RTF and PDF are just text.

Justin

WebMacro Servlet Framework
http://webmacro.org

Quoting Carlos Amengual ([EMAIL PROTECTED]):
> Cezar Totth write:
> >
> > Disagree. you can use templates to generate many types of textual
> > content, without changes in Java classes:
> > rich text format, postscript, TAB-delimited-tables (for spreadsheet
> >  import), SQL "insert" or "update" content, and even XML.
> >
> > This, in most cases, without the intervention of the guy (girl) who
> > wrote the .java source.
> >
> > Template engines are in fact data extraction tools from living java
> > apps, using introspection or not, more or less optimized.
> > The resulted documents can be any external representation of that
> > data, not only .html
>
> Please read my post. Even if you had a single template tool that allowed
> to deal transparently with all text formats (not true), you still have
> important non-text formats missing.
>
> How are you supposed to write a webmacro-like script in a PDF, Word, or
> PS document ?
>
> Carlos
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to