[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: nesting xml
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 3 May 2001 10:22:10 +0100
> 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


Current Thread
  • nesting xml
    • Mark Kahn - Wed, 2 May 2001 14:28:00 -0400 (EDT)
      • Michael Kay - Thu, 3 May 2001 05:45:16 -0400 (EDT) <=
      • <Possible follow-ups>
      • Dan Diebolt - Wed, 2 May 2001 15:26:41 -0400 (EDT)
      • Mark Kahn - Thu, 3 May 2001 12:16:56 -0400 (EDT)
      • Mark Kahn - Thu, 3 May 2001 13:06:16 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member