|
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:--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
Re: [docbook-apps] getting text from external xml file
Marie Sauvage - EBM WebSourcing Tue, 31 Jul 2007 06:08:08 -0700
- [docbook-apps] getting text from external ... Marie Sauvage - EBM WebSourcing
- Re: [docbook-apps] getting text from ... Dave Pawson
- Re: [docbook-apps] getting text f... Marie Sauvage - EBM WebSourcing
- Re: [docbook-apps] getting te... Dave Pawson
- Re: [docbook-apps] gettin... Marie Sauvage - EBM WebSourcing
