From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Tue, 3 Dec 2013 19:26:12 +0100 Subject: [Cluster-devel] [PATCH 1/6] rgmanager: ra2rng.xsl: extend infrastructure for XML In-Reply-To: <1386095178-23404-1-git-send-email-jpokorny@redhat.com> References: <1386095178-23404-1-git-send-email-jpokorny@redhat.com> Message-ID: <1386095178-23404-2-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 + tag-self named template (originally for "self-closed") renamed just to tag as now it's able to recursively dump also the nested >forrest< as passed with fill-with parameter, i.e., the resulting output tag is not necessarily self-closed + tag-end named template doesn't take attrs parameter (apparently no used for that, was just copy-paste of tag-start) + normalize-space at certain places so as to canonicalize the output The infrastructure itself was started with commit 008c3f6: rgmanager: ra2rng.xsl: parametrize and make more flexible Signed-off-by: Jan Pokorn? --- rgmanager/src/resources/ra2rng.xsl | 267 ++++++++++++++++++++++++++++--------- 1 file changed, 201 insertions(+), 66 deletions(-) diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl index e53595e..046371e 100644 --- a/rgmanager/src/resources/ra2rng.xsl +++ b/rgmanager/src/resources/ra2rng.xsl @@ -4,12 +4,12 @@ exclude-result-prefixes="int"> - - + + @@ -59,53 +59,144 @@ - - - + + + + - + + + + + + + + + + + - - - + + + + - + - - - - + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -142,22 +233,27 @@ - + - + - + @@ -166,37 +262,47 @@ rgmanager specific stuff - + - + - + - + - + @@ -204,13 +310,16 @@ - + - + @@ -218,28 +327,37 @@ - + - + - + - + @@ -249,15 +367,19 @@ - + - + @@ -265,25 +387,31 @@ - + - + - + - + @@ -291,31 +419,38 @@ - + - + - + - + - + -- 1.8.1.4