|
Subject: Re: [xsl] Aligning/merging two sequences From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 30 Sep 2010 20:10:58 +0200 |
Markus Flatscher wrote:
I.e., for each input1//w, @n should be copied to the nearest following sibling <w> in input2 that matches .; <w>s in input2 that aren't in input1 should be flagged as "skipped".
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs">
<xsl:template match="input2">
<output>
<xsl:apply-templates select="w[1]">
<xsl:with-param name="skipped" select="0"/>
</xsl:apply-templates>
</output>
</xsl:template>Martin Honnen http://msmvps.com/blogs/martin_honnen/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Aligning/merging two sequ, Martin Honnen | Thread | Re: [xsl] Aligning/merging two sequ, Markus Flatscher |
| Re: [xsl] Aligning/merging two sequ, Martin Honnen | Date | Re: [xsl] Aligning/merging two sequ, Markus Flatscher |
| Month |