|
Subject: Diferentiating the last element.. From: "Eduardo Dominguez" <edmz@xxxxxxxxxxxxxx> Date: Thu, 26 Oct 2000 17:02:13 -0500 |
I have a small dtd for definig libraries of functions. This
is an excerpt from a test file:
<function name="setUserId" description="blah here">
<parameter name="$id" description="desc here" datatype="string" />
<parameter name="$value" description="blah blah" datatype="int" />
</function>
What I need to do, is to create skeleton files from the description
of the library. For example (in php):
/**
*blah here
*
*@para $id desc here
*@para $value blah blah
*/
setUserId( $id, $value )
{
}
My problem is i want to print the parameters, and as you might know
the last parameter must not be followed by a comma (",") thus my
need to identificate when I am at the last "parameter" element.
Is this possible, and if so, how ?
thanks in advance.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: How to declare a param which n, Gary L Peskin | Thread | Re: Diferentiating the last element, David Carlisle |
| XML to PDF, Larry_Mason | Date | Xalan Error, Smith, David |
| Month |