[Home] [By Thread] [By Date] [Recent Entries]

Subject: problem in using * as a default parameter in xsl:param
From: "=?big5?b?qkwgpGyq5A==?=" <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 ¬Ûï´£¨Ñ±z³Ì²³æªº¤è¦¡¤À¨É¨Ã¦C¦L±zªº¬Û¤ù¡A½Ð²¾¦Ü¡G http://photos.msn.com.hk/support/worldwide.aspx


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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member