473,386 Members | 1,733 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,386 software developers and data experts.

Text-templating library for C++

Hi !

Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?

Best Regards,
Przemyslaw
Jul 22 '05 #1
4 1718
Przemyslaw Wegrzyn wrote:
Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?


XSLT?

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #2
> > Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?


XSLT?


Hmm, it is one alternative, but for my needs it's overcomplicated,
compared to simple templating toolkits. I don't like XSLT too much.

Best Regards,
Przemyslaw
Jul 22 '05 #3
cz*****@czajsoft.pl (Przemyslaw Wegrzyn) wrote in message news:<c1*************************@posting.google.c om>...
Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?


You can try CodeWorker, a parsing tool and a source code generator,
freely available at "http://www.codeworker.org". A template-based
script expresses the code generation patterns.

The interpreter is written in C++, and you can link your C++
application with the CodeWorker's library or translate your
CodeWorker's scripts to C++, via the command-line switch '-c++'.

As for Velocity (but in the C++ world), you can populate your CW's
templates with the data coming from your C++ application. To do that,
you just have to build a 'CodeWorker::CppParsingTree' data structure
(header file = "CppParsingTree.h").

Tell me if you need more details.
Jul 22 '05 #4
cz*****@czajsoft.pl (Przemyslaw Wegrzyn) wrote in message news:<c1*************************@posting.google.c om>...
Hi !

Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?

Best Regards,
Przemyslaw


Hello,

I suggest you our templating engine -- Teng
<http://sourceforge.net/projects/teng/>. Teng is almost standard C++
library with very simple interface (almost due to use of just one
posix function).

Primary purpose of teng is web page generation but it can be used for
any kind of text (emails, sources etc). Templates are cached. Template
can be broken to separate files. You can use language dictionaries for
multilingual output.

Project documentation is in progress but I can send you first draft of
manual.

Best regards,

Vaclav Blazek
Jul 22 '05 #5

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

Similar topics

1
by: joes | last post by:
Hello there ! I rendering a PDF with XSLT using Xalan and FOP. I like to place in my article an image, so that the text is floating around the image. I tried several things but it didn't work so...
3
by: Xerxes | last post by:
Hi, I need help in setting up a page where the text wraps around an image. Right now, I am using table, with text in one <td> and the image in the adjacent <td>. The problem is when the text is...
2
by: Macsicarr | last post by:
Hi All Wonder if you could help me. I have created a CMS system that allows the user to enter text and pic 'tags' for their own About us page, eg text.... text.... text.... text.......
2
by: Jiri Palecek | last post by:
I have a question on web authoring (probably HTML+CSS). Is it somehow possible to put two words above each other inside a paragraph so the result would be valid and render at least in Mozilla? I...
4
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
3
by: jweinberg1975 | last post by:
I would like for users to be able to select from a small number of options that come from a little drop down menu which then closes. .....
3
by: bbepristis | last post by:
Hey all I have this code that reads from one text file writes to another unless im on a certian line then it writes the new data however it only seems to do about 40 lines then quits and I cant...
3
by: acecraig100 | last post by:
I am fairly new to Javascript. I have a form that users fill out to enter an animal to exhibit at a fair. Because we have no way of knowing, how many animals a user may enter, I created a table...
3
by: jonniethecodeprince | last post by:
Hi all, I have trouble getting an array of data stored in a separate javascript file i.e. a file called books.js into a table of data for a .xhtml file. There are 50 Records in this file....
10
by: bluemountain | last post by:
Hi there, Iam new to python forms and programming too I had a text file where i need to extract few words of data from the header(which is of 3 lines) and search for the keyword TEXT1, TEXT2,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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.