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]

RE: nesting xml


> I'm just starting to learn xml/xsl and am wondering if it's
> possible to use a sub or a function call in xsl.

The nearest equivalent to a function call in XSLT is <xsl:call-template>.

But you don't need it here: use <xsl:apply-templates/>, and define a
template rule for each element at whatever depth.

Mike Kay
Software AG


 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]