|
Subject: Re: [xsl] Only output element when parameter value is not equal to blank (or null) From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 01 Feb 2007 13:26:20 +0100 |
<xsl:param name="key-settings"> <setting name="MASTERCATALOGNAME" value="myvalue" /> <setting name="PRODUCTID" value="myprodid" /> .... </xsl:param>
<DataService>
<Identity>
[...]
</Identity>
<Transaction>
<Command type="Query">
<MasterCatalogRecord etype="Entity">
<ExternalKeys>
<xsl:apply-template select="$key-settings/setting" />
</ExternalKeys>
[...]
</Transaction>
</DataService><xsl:template match="setting">
<Key name="{@name}" type="string">
<xsl:value-of select="@value" />
</Key>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Only output element when , Chris Coyle | Thread | Re: [xsl] Only output element when , Florent Georges |
| [xsl] Namespaces conventions: Why A, Ben Stover | Date | Re: [xsl] Wrap changing element seq, David Carlisle |
| Month |