From: Jan Pokorný <jpokorny@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 5/6] rgmanager: ra2rng.xsl: infra for param value datatyping/restriction
Date: Tue, 3 Dec 2013 19:26:16 +0100 [thread overview]
Message-ID: <1386095178-23404-6-git-send-email-jpokorny@redhat.com> (raw)
In-Reply-To: <1386095178-23404-1-git-send-email-jpokorny@redhat.com>
Signed-off-by: Jan Pokorn? <jpokorny@redhat.com>
---
rgmanager/src/resources/ra2rng.xsl | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl
index 6c66ee3..b4944e7 100644
--- a/rgmanager/src/resources/ra2rng.xsl
+++ b/rgmanager/src/resources/ra2rng.xsl
@@ -69,6 +69,10 @@
</choice>
</int:common-optional-parameters>
+<int:agent-parameter-specialization>
+ <!-- int:agent @name="..." > int:parameter @name="..." > PATTERN -->
+</int:agent-parameter-specialization>
+
<xsl:variable name="SP" select="' '"/>
<xsl:variable name="NL" select="'
'"/>
<xsl:variable name="NLNL" select="'

'"/>
@@ -361,6 +365,13 @@
'name=', $Q, @name, $Q, $SP,
'rha:description=', $Q, normalize-space(shortdesc), $Q)"/>
<xsl:with-param name="indented" select="$use-indented"/>
+ <xsl:with-param name="fill-with"
+ select="document('')/*/int:agent-parameter-specialization
+ /int:agent[
+ @name = current()/../../@name
+ ]/int:parameter[
+ @name = current()/@name
+ ]/*"/>
</xsl:call-template>
<xsl:value-of select="$NL"/>
--
1.8.1.4
next prev parent reply other threads:[~2013-12-03 18:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 18:26 [Cluster-devel] [resource-agents][PATCH 0/6] rgmanager: ra2rng.xsl: build up param datatyping infra Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 1/6] rgmanager: ra2rng.xsl: extend infrastructure for XML Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 2/6] rgmanager: ra2rng.xsl: make common params reuse XML pretty-print Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 3/6] rgmanager: ra2rng.xsl: common params: prevent misleading combination Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 4/6] rgmanager: ra2rng.xsl: control flow branches common business merge Jan Pokorný
2013-12-09 14:14 ` [Cluster-devel] [PATCHv2 " Jan Pokorný
2013-12-03 18:26 ` Jan Pokorný [this message]
2013-12-09 14:15 ` [Cluster-devel] [PATCHv2 5/6] rgmanager: ra2rng.xsl: infra for param value datatyping/restriction Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 6/6] gmanager: ra2rng.xsl: script-file: try to prevent cluster's services Jan Pokorný
2013-12-03 18:31 ` Jan Pokorný
2013-12-03 18:26 ` [Cluster-devel] [PATCH 6/6] rgmanager: " Jan Pokorný
2013-12-04 13:50 ` [Cluster-devel] [PATCHv2 " Jan Pokorný
2013-12-09 14:16 ` [Cluster-devel] [PATCHv3 " Jan Pokorný
2013-12-05 17:13 ` [Cluster-devel] [PATCHv2 3/6] rgmanager: ra2rng.xsl: common params: prevent misleading combination Jan Pokorný
2013-12-09 14:12 ` [Cluster-devel] [PATCHv3 " Jan Pokorný
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386095178-23404-6-git-send-email-jpokorny@redhat.com \
--to=jpokorny@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).