ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: style task and passing variable values
Date Fri, 14 Feb 2003 07:03:15 GMT
I use

        <xslt in="${xml}" out="${out}" style="${xsl}">
            <param name="date" expression="${DATE}"/>
        </xslt>

in Ant and

	<xsl:param name="date">some time ago</xsl:param>

in XSL and it works.


Jan Matèrne

-----Urspr√ľngliche Nachricht-----
Von: Jerome Paul [mailto:jerome.paul@ephox.com]
Gesendet am: Freitag, 14. Februar 2003 08:00
An: 'Ant Users List'
Betreff: style task and passing variable values

Hi,
  I'm using the ant style task and I need to pass a value into a variable
called build.dir.  Currently I call a different xslt that contains the
specific variable for each document.  Here's an example of what I'm having a
problem with. 

<xsl:variable
name="base.dir">D:\inetpub\intranet\engineering\doclist\userdocs\</xsl:varia
ble>

I want to pass that as a value to the xslt I've tried 

<mtxslt
    destdir="${outputdir}"
    force="true"
    includes="${htmlList}"
    style="${baseDirectory}/docbook/ephoxintranethtml/chunk.xsl"
    processor="${saxon6}"
    classpath="${saxon6.classpath}">
    <param name="base.dir" value="${outputdir}"/>
</mtxslt>

any suggestions?

cheers
Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message