-
Recursive XSL
Can XSL style sheets be written recursively? So that if I have an XML node
like the following ... I can call ApplyTemplate("//Manager") for the first
manager and then when the parser comes to the second (inner) manager the
"manager" template issues the command "ApplyTemplates("//Manager")" to call
the "manager" template ... and so on?
<manager>
<name></name>
<title></title>
<manager>
<division></division>
</manager>
</manager>
Not that this would come up very often.
Larry
-
Re: Recursive XSL
Absolutely.
"Laurence Hunter" <hunterlmc@hotmail.com> wrote in message
news:3b17e2b2@news.devx.com...
>
>
> Can XSL style sheets be written recursively? So that if I have an XML
node
> like the following ... I can call ApplyTemplate("//Manager") for the first
> manager and then when the parser comes to the second (inner) manager the
> "manager" template issues the command "ApplyTemplates("//Manager")" to
call
> the "manager" template ... and so on?
>
> <manager>
> <name></name>
> <title></title>
> <manager>
> <division></division>
> </manager>
> </manager>
>
> Not that this would come up very often.
>
> Larry
>
>
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|