Re: xmlroff source code

Tony Graham <[email protected]> Thu, 09 Mar 2006 22:33:14 +0000
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
"Mauro C." <[email protected]> writes:
...
> I would to contribute to xmlroff project not only dev
> a php ext.

That would be great.  Any help you or anyone else can give is greatly
appreciated.

> I just start to study source, too much source :)

The good thing, and only sometimes the bad thing, about the source is that
most of it is autogenerated by the spec-dump module.  The code for the FO and
properties is generated by the spec-dump module and then copied over to
xmlroff.

> Tony if you could give me some hint so I can
> contribute also to implements xsl-fo.
> Simly give me .c file to study fist, expecially
> fo-area and fo-fo.

The simplest file for any FO is probably fo-root.c, and the simplest property
is probably fo-property-media-usage.c.  They're also the two files that I
tweak by hand first before modifying spec-dump to produce similar code.

If you enable building the documentation with './autogen.sh --enable-gtk-doc'
(which is prebuilt in the xmlroff distributions), you'll find some minimal
documentation, including a discussion of fo-root.c.  There used to be more on
the xmlroff wiki, back when the wiki worked, but I didn't keep it up because
it didn't seem to be being used, and now it's gone because the database
containing the wiki data was lost when SourceForge changed their database
setup.

> ps:
> I know xmlroff is an open source project :D

Very nicely put.

Regards,


Tony.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642