[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] getting text from external xml file
Great it works ! I did this in the ant build file to pass the pom file to the fo.xsl (I manage several projects, my task is dynamic) : <property name="pom" value="${basedir}/../${project.dir}/pom.xml" /> <xslt basedir="${basedir}" style="${style.file}" in="tmpfile" out="${output}" extension="${extension}"> <param name="pomfile" expression="${pom}" /> [...] Then, in my fo.xsl I add this to create the param : <xsl:param name="pomfile"></xsl:param> and get the version in it as you said : <xsl:value-of select="document($pomfile)/ms:project/ms:version"/> thank you very much for your precious help ! Marie. Dave Pawson a écrit : Marie Sauvage - EBM WebSourcing wrote: |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]