Subject: Re: [xsl] Convert apply-templates to call-template? From: Phillip B Oldham <phillip.oldham@xxxxxxxxxx> Date: Tue, 31 Jan 2006 08:29:43 +0000 |
You'd need to say what the problem you were having, and what exactly you
meant bu using call-tempate. You need to somehow traverse the input tree
in order to get the input, apply-templates does that, call-template does
not, the current node never changes on a call-template.
Your question could be trivially answered by having a named template
that you call with call-template, that just uses apply-templates to
traverse the tree.
<container url="/Departments/ViewAll"> <item> <id>1</id> <name>Managers</name> <lh>1</lh> <rh>6</rh> </item> <item> <id>2</id> <name>Supervisors</name> <lh>2</lh> <rh>5</rh> </item> <item> <id>3</id> <name>Employees</name> <lh>3</lh> <rh>4</rh> </item> <item> <id>4</id> <name>Directors</name> <lh>7</lh> <rh>8</rh> </item> </container>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Convert apply-templates t, David Carlisle | Thread | Re: [xsl] Convert apply-templates t, Alexander Johannesen |
[xsl] date duration grouping questi, Kent Seegmiller | Date | Re: [xsl] Convert apply-templates t, Alexander Johannesen |
Month |