Re: problem with key
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
Am 15.04.2021 um 00:28 schrieb Albright, Jim [email protected]: > In thinking about this, it looks like this can be written as a recursive > routine.=C2=A0 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=3D"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/3329386 or by email: [email protected] --~--