- From: Roland Gülle <roland@7val.com>
- Date: Thu, 18 Oct 2007 19:47:14 +0200
- To: Dominique Hazael-Massieux <dom@w3.org>
- Cc: public-mobileok-checker@w3.org
Am 18.10.2007 um 17:46 schrieb Dominique Hazael-Massieux: > Le jeudi 18 octobre 2007 à 15:43 +0200, Roland Gülle a écrit : >> 2. >> The quick solution is define, one, two params, and use them also with >> a static replacement >> $param1 is replaced with PLACEHOLDER_1 >> [...] >> >> No.3 is the most dynamic solution, No.2 the easiest. > > I think we should start with 2 for now; we can always choose a > different > path later if that proves necessary. > > I know of at least one case where we would need 2 params, so let's > start > with two of them. done. now you could use: <xsl:call-template name="result"> <xsl:with-param name="replace1">foo</xsl:with-param> <xsl:with-param name="replace2">bar</xsl:with-param> ... </xsl:call-template> foo and bar would be replaced with the placeholder > PLACEHOLDER_1 > PLACEHOLDER_2 in the message. Cheers, Roland
Received on Thursday, 18 October 2007 17:47:35 UTC