xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Looping through parameters


Subject: [xsl] Looping through parameters
From: Duncan Hull <duncan.hull@xxxxxxxxx>
Date: Thu, 31 May 2001 11:50:45 +0100

Dear XSL-listers

Is there an XPath expression that will allow me to generically refer to one or more parameters passed externally into a stylesheet? e.g.

<xsl:for-each select="external-parameter-passed-in">
    do something with each parameter
</xsl:for-each>

I want to be able to handle the parameters generically, rather than by each parameter name as shown below which repeats the code <!--stuff-->
.
<!--check to see that param1 is not null-->
<xsl:if test="$param1!=''">
    <!--stuff-->
</xsl:if>
<xsl:if test="$param2!=''">
    <!--stuff-->
</xsl:if>
<xsl:if test="$param3!=''">
      <!--stuff-->
</xsl:if>

etc

Duncan

***********************************************
CSW Informatics Ltd
4240 Nash Court, Oxford Business Park South, Oxford, OX4 2RU
Tel: +44/0 1865 337400  Fax: +44/0 1865 337433
Web: http://www.cswinformatics.com

"CSW Informatics delivers high quality consultancy and
training services, to assist our customers in meeting their
requirements for innovative information management
solutions using the most appropriate technologies,
products and software systems"

----------------------------------------------
CSW's XML SUMMER SCHOOL 20th - 25th July 2001
St. Anne's College, OXFORD
SIGN UP NOW: http://www.xmlsummerschool.com
----------------------------------------------

Legal Disclaimer: http://www.csw.co.uk/disclaimer.htm
***********************************************




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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor