From: Bernhard Slominski <>
Date: Thu, 09 Jun 2011 13:10:40 +0200

Am 26.05.2011 21:43, schrieb Ed Burns:
>>>>>> On Fri, 20 May 2011 11:48:13 +0200, Bernhard Slominski<> said:
> B> Hi,
> B> I'm working on the Issue 974 now (Generation the tlddoc from a Faclets
> B> taglib: ).
> B> Right now the code is not in but you can get it
> B> here:
> B> It looks to me the easiest solution is to transfer the facelets.xml
> B> document into a tld document via an xsl stylesheet.
> B> Then generate the documentation from the tld file.
> B> The other solution is to parse the facelets.xml natively and create the
> B> documention directly from there, but that solution seems to be more
> B> effort.
> That's a fine approach. Please proceed with that approach.
> Ed
I got it working now that the tlddoc tool can generate the documentation
from the converted facelets.xml file (via a new xsl stylesheet I
created), I just run into one issue:
The tlddoc tool uses the <shortname> element of the tld defintion to
generate the documentation e.g. <short-name>f</short-name>.
This element doesn't exist for the facelets.xml taglibrary, so far the
tool just generates a default name ("prefix1"), which is not a very good
I'm not sure if we can use another element from the facelets.xml
taglibrary, so far I couldn't identify one.
Can you let me know your ideas how to solve that?