Hi!

Apart from the topic parameter problem (which I still couldn't solve), I have 
another problem with Snippets:

I use the following XSLT:

<xsl:transform version="1.0"
               xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
               xmlns:mgd="http://ns.yukatan.fi/2005/midgard";>

  <xsl:output indent="yes"/>

  <xsl:template match="mgd:site">
    <mgd:site>
      <xsl:apply-templates select="mgd:midgard_snippetdir"/>
    </mgd:site>
  </xsl:template>

  <xsl:template match="mgd:*">
    <xsl:copy><xsl:apply-templates/></xsl:copy>
  </xsl:template>

</xsl:transform>

The problem is, this does not replicate snippets, just the snippetdirs 
(verified by redirecting the output to the log file)

so I tried adding this line:

  <xsl:template match="mgd:site">
    <mgd:site>
      <xsl:apply-templates select="mgd:midgard_snippetdir"/>
      <xsl:apply-templates select="mgd:midgard_snippet"/>
    </mgd:site>
  </xsl:template>

This replicates the Snippets in question, but it fails to change the id in the 
snippet's "up" field, so it winds up in the wrong directory. 

I would be glad if anyone could tell me if this is a bug in Exorcist (beta-3) 
or if I simply was too stupid (again :-)


Bye,

Andreas

-- 
Adding sound to movies would be like putting lipstick on the Venus de Milo. -- 
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to