This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: nesting xml
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] nesting xml
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 3 May 2001 10:22:10 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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