This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]