xsl-list
[Top] [All Lists]

Re: [xsl] problem with key

2021-04-15 01:47:37
Am 15.04.2021 um 00:28 schrieb Albright, Jim 
jim_albright(_at_)wycliffe(_dot_)org:
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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>