From: "Joe Germuska" <[EMAIL PROTECTED]>
Ted has this correct. In fact, the UserGuide HTML pages are generated using the base xdoc transformation, and then the TLDs are generated with <goal name="struts:generate-tlds"> (in taglib/maven.xml)
Thanks! That's what I needed. :)
Especially with the new non-monolithic distribution, it makes sense to generate the TLDs one last time, and then commit those to the SVN repository instead of the documentation XML, and then to shift to using taglibdoc to generate tag documentation as part of the taglib sub-documentation tree. Easy for me to say -- I'm travelling for work this week so won't have much time to put towards helping make it work that way.
Unless I'm missing something, running 'maven struts:generate-tlds' and moving the result to src/tld/ [where the taglib plugin expects to find them] won't do it-- the generated tlds don't have the <info> tags. I changed the stylesheet (tld.xsl) to pick up the those tags from the taglib/doc/userGuide/struts-*.xml files. That got me close to the taglibdoc that Joe posted. (It does lose all the markup within <info>, however.) Did you have to do any cleanup on the generated tlds? I see some differences such as <ul> in the html-errors taglib doc getting translated back into <ul> in my version. I had to put the <ul> in a CDATA section to get it to come out like yours (http://people.apache.org/~germuska/struts-taglib/docs/tlddoc/html/errors.html). I stopped short of committing them because I noticed that we're still generating JSP 1.1 tlds. Once I changed the version, then the <info> tags are wrong, it's supposed to be <description> and <example> according to the dtd: http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd . Looks like the Maven taglib plugin has a 'convert' goal, so I'll try that out tonight. Thanks, Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]