[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] ID Refs v2

Subject: RE: [xsl] ID Refs v2
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 20 Jan 2004 08:36:51 +0200

> I already sent an e-mail asking for a solution for the following
> problem, but I wasn't specific enough.
> The solution presented to the previous mail works, but doesn't do
> exactly what I pretended, and I can't make it work.

As Ken already asked, what was the problem you had?

<xsl:stylesheet version="1.0"
  <xsl:template match="y0:Specification_expression | Specification">
    <xsl:element name="prd:{local-name()}">
      <xsl:apply-templates select="@* | node()"/>
  <xsl:template match="sos[@ref]">
      <xsl:apply-templates select="//y0:sos[@id = current()/@ref]/node()"/>
  <xsl:template match="y0:sos[@id]"/>
  <xsl:template match="@* | node()">
      <xsl:apply-templates select="@* | node()"/>

Jarno -  TOY: Fairytale (Special Club)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread