Am 26.05.2011 21:43, schrieb Ed Burns:
>>>>>> On Fri, 20 May 2011 11:48:13 +0200, Bernhard Slominski<bernhard.slominski_at_gmx.de> said:
> B> Hi,
> B> I'm working on the Issue 974 now (Generation the tlddoc from a Faclets
> B> taglib: http://java.net/jira/browse/JAVASERVERFACES-974 ).
>
> B> Right now the code is not in java.net but you can get it
> B> here:http://grepcode.com/snapshot/repo1.maven.org/maven2/taglibrarydoc/tlddoc/1.3
>
> 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
solution.
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?
Thanks
Bernhard