xsl-list
[Top] [All Lists]

Re: [xsl] selecting specific elements from a second file

2016-12-17 09:37:37
Thank you, Martin,
Made one small change:
<xsl:template match="Stamp">
        <xsl:copy>
<xsl:apply-templates select="@*, node(), key('flaws', CatNumbers/@pofis-number, doc('../work/flaws3.xml'))/node()"/>
        </xsl:copy>
    </xsl:template>

On 12/17/2016 8:27 AM, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de 
wrote:
<xsl:template match="Stamp">
  <xsl:copy>
<xsl:apply-templates select="@*, node(), key('flaws', @pofis-number, doc('file2.xml'))/node()"/>
  </xsl:copy>
</xsl:template>
--~----------------------------------------------------------------
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>