cvs2cl.pl - XML output
Martyn J. Pearce
fluffy at sixears.co.uk
Sun Aug 24 10:44:37 PDT 2003
On Wed, Aug 06, 2003 at 12:01:41AM +0200, Jeroen Coumans wrote:
> I have two questions though:
> However, I'd like to get daily CVS commit output sorted by person.
> Currently, when a person commits multiple changes in a day, they appear
> one by one, like this:
> Instead, I'd like them all grouped together like this:
> Is this possible with cvs2cl.pl?
Currently, no. It may be in the future, but I'm afraid the cvs2cl is
currently in maintenance mode, and it'll likely be a little while before real
development is done on it again :-( I have logged this as a bug (#53).
> Secondly, I should probably use XSLT stylesheets to transform the XML
> into XHTML. However, I'm a complete newbe regarding XML and XSLT, can
> anybody help me with this? I need to extract the following information
> in this format:
> <h4>Date - Author</h4>
> <p>File(s): commit log</p>
I'm no expert in XSLT, however, I have knocked up a starting example, which I
attach, which gives the above format. I've also posted it on the red-bean
site. If you enhance/improve this, and don't mind sharing, please copy me ---
I'll post the improved version, too! The attached worked with:
xsltproc examples/cl2html.xslt [xml-cl-file]
-------------- next part --------------
<xsl:output method="html" encoding="UTF-8"
doctype-public="-//W3C//DTD XHTML 1.1// EN"
<xsl:value-of select="concat(cvs2cl:date, ' - ',
<xsl:if test="position() != last()">, </xsl:if>
More information about the website