[xsl] problem in using * as a default parameter in xsl:param

Subject: [xsl] problem in using * as a default parameter in xsl:param
From: "林 子芯" <minikittygo@xxxxxxxxxxx>
Date: Mon, 29 Apr 2002 15:39:12 +0000

Hi, can somebody tell how could i set the default value of a parameter to all possible value (i.e. *)


this is what i did:

<xsl:param name="param1" select="*"/>
....
<xsl:for-each select="elementName[childName=$param1]">
<xsl:copy-of select="elementName"/>
</xsl:for-each>
...

however this does not work, can somebody let me know how to do it or achieve similiar outcome?

Many thanks
Regards
Kit


_________________________________________________________________ MSN 相簿提供您最簡單的方式分享並列印您的相片,請移至: http://photos.msn.com.hk/support/worldwide.aspx


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread