From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Fri, 1 Mar 2013 11:23:51 +0100 Subject: [Cluster-devel] [PATCH][fence-agents] fence2rng.xsl: parametrize and make more flexible Message-ID: <1362133431-7287-1-git-send-email-jpokorny@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The output is 1:1 to the previous version, but it is now easy to change base indentation level and internally, we use abstract blocks for tags instead of </> kludge. Also the unused macro-like template is removed. Signed-off-by: Jan Pokorn? --- fence/agents/lib/fence2rng.xsl | 171 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 156 insertions(+), 15 deletions(-) diff --git a/fence/agents/lib/fence2rng.xsl b/fence/agents/lib/fence2rng.xsl index a958de1..432bc89 100644 --- a/fence/agents/lib/fence2rng.xsl +++ b/fence/agents/lib/fence2rng.xsl @@ -1,20 +1,161 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - <!-- --> - <group rha:name="" rha:description=""> - <optional> - <attribute name="option"/> <!-- deprecated; for compatibility. use "action" --> - </optional> - <optional> - <attribute name="" rha:description="" /> - </optional> - </group> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + deprecated; for compatibility. use "action" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.7.11.7