forked from phoedos/pmd

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@203 51baf565-9d33-0410-a72c-fc3788e3496d
32 lines
548 B
XML
32 lines
548 B
XML
<?xml version="1.0"?>
|
|
|
|
#match("ruleset")
|
|
<document>
|
|
<properties>
|
|
<author email="tom@infoether.org">Tom Copeland</author>
|
|
<title>Rule Set: $attrib.name</title>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="$attrib.name">
|
|
<p>
|
|
$node.get("./description").value()
|
|
</p>
|
|
$context.applyTemplates()
|
|
</section>
|
|
</body>
|
|
</document>
|
|
#end
|
|
|
|
#match("rule")
|
|
<subsection name="$attrib.name">
|
|
<p>
|
|
$node.get("./description").value()
|
|
</p>
|
|
<source>
|
|
<![CDATA[ $node.get("./example").value() ]]>
|
|
</source>
|
|
</subsection>
|
|
#end
|
|
|