Subject: Re: [xsl] problem with key|
From: "Albright, Jim jim_albright@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Apr 2021 15:09:48 -0000
Thank you all. I am happy with my working batch file method. Jim Albright Wycliffe Bible Translators 704-562-1529 On Thu, Apr 15, 2021 at 2:47 AM Martin Honnen martin.honnen@xxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Am 15.04.2021 um 00:28 schrieb Albright, Jim jim_albright@xxxxxxxxxxxx: > > In thinking about this, it looks like this can be written as a recursive > > routine. Is this correct? > > Right now I run a batch file and increment the level for each step. > > It might be easier for us to help of if you start with a new thread or > summarize at least the current input and wanted result. > > If you want recursion in XSLT you usually need apply-templates instead > of copy-of so somewhere instead of > <xsl:copy-of select="key('SemanticDomainByParent', $parentSD, > $lookupDoc)"/> > I supposed you either need to use apply-templates or you want to store > the copy in a variable and reapply templates with the level variable or > parameter increased.