Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-20 Thread Stefan Bodewig
on't think so. I'd try to put the properties file into the classpath as well, i.e. add a -lib pointing to the directory holding the properties file. I'm not sure this will help. > "[xslt] Loading stylesheet > C:\Projects\Tools_RK\DocBook-System\WebHelp\Cust

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-20 Thread Kerry, Richard
style file I'm using isn't being found. However the second task is not successfully finding its imports via the catalog. I see the following in the log : "[xslt] Loading stylesheet C:\Projects\Tools_RK\DocBook-System\WebHelp\CustomWebHelp.xsl" This is as ex

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Stefan Bodewig
On 2013-09-13, Kerry, Richard wrote: > "ant-resolver.jar and xml-resolver.jar " > hang on a moment . what are these ? > I thought I just needed resolver.jar from xml-commons-resolver-1.2 > (assuming that's the latest), so what are these two ? xml-resolver.jar is the one from xml-co

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Kerry, Richard
message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitte From: Stefan Bodewig [bode...@a

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Martin Gainty
> From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 13 Sep 2013 16:08:08 + > > > > Ok, right, good, back on this again for a while after a break . > > &

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
On 2013-08-30, Kerry, Richard wrote: > I'm still unclear about this. Internally within Ant there seems to be > a Classpath that is some combination of CLASSPATH environment > variable, -cp parameter, , , id="class.path" >. . > Which one can/should I put my resolver's location in ? just define

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
ot;resolver.jar") must be in > your path." (ie "path") Ahh, and I kept looking at the task documentation for xslt. Will fix that. It should be classpath. > And I remain unclear whether I should be using > xml-commons-resolver-1.2/resolver.jar > or > apache-ant

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
ewig [bode...@apache.org] Sent: 30 August 2013 14:56 To: user@ant.apache.org Subject: Re: Use of XML Catalog with Ant (xslt task) - request for example On 2013-08-30, Martin Gainty wrote: > As the vast majority of Ant Developers came from C++ backgrounds > (usually writing JNI code...

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
get it to work for me. "all other xslt Java classes/jars would need to be located on $CLASSPATH" I'm still unclear about this. Internally within Ant there seems to be a Classpath that is some combination of CLASSPATH environment variable, -cp parameter, , , . . Which one can/

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
On 2013-08-30, Martin Gainty wrote: > As the vast majority of Ant Developers came from C++ backgrounds > (usually writing JNI code...) I wouldn't expect this assertion to hold true. > Unless there is a JNI Library (which would have to be located on path > in order for the

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Martin Gainty
..documentation Unless there is a JNI Library (which would have to be located on path in order for the Java xslt task to execute) all other xslt Java classes/jars would need to be located on $CLASSPATH (I myself am currently working on the flex component compiler compc and found some things that

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
m) I'd rather not have CLASSPATH as an environment variable, though for the moment it's ok in order to get anything working. The target has its own @classpath attribute, which the docs describe as "the classpath to use when looking up the XSLT processor". Is it strictly for

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 23 Aug 2013 16:11:00 + > > > > Thanks. > > > >

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
l effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
Thanks. Regarding the first issue - Saxon's built-in catalog handling - I already know how to do this. When I call Saxon from a Java task I pass all of -x, -y, -r, -u. Regarding the second - Saxon from within Ant's xslt task - I have been advised that it isn't reall

XML Catalog for xslt - step by step

2013-08-23 Thread Kerry, Richard
I've changed my build file to pass the xslt task the location of the xsl style file. I can now see it reading that in the build log. However, it isn't using my resolver to look up imports. Please can someone answer the following questions. 1. I have xml-commons-resolver-1.2,

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Peter West
t the problems of getting the ant xslt task to use Saxon. Peter West When the young man heard this, he went away sorrowful, for he had great possessions. On 24/08/2013, at 12:56 AM, Stefan Bodewig wrote: > On 2013-08-23, Kerry, Richard wrote: > >> Can I add this as a feature re

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Stefan Bodewig
, in whatever way it wants to. > Enquiring on either the Xsl or DocBook list indicated that although > Ant's xslt task can take a classpath parameter it is not possible to > get it to use Saxon due to some other limitations within one or the > other. I'm pretty sure I'v

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
he.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 23 Aug 2013 13:28:47 + > > > > "you want the catalog to resolve the stylesheet itself - I'm afraid this is > not supported." > > "it does not use th

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
Gainty [mgai...@hotmail.com] Sent: 17 August 2013 13:31 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example you wont need to write anything...Im just showing you the parameters you would need to create a working test harness if you could approach the situat

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
uot;So, you might be better off finding the CatalogManager.properties file that Saxon uses, and editing that directly." I've done this for Saxon use but have just been notified that ant/xslt can't use catalogs for looking up the initial stylesheet so I need to change approach. &q

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
ts to. Enquiring on either the Xsl or DocBook list indicated that although Ant's xslt task can take a classpath parameter it is not possible to get it to use Saxon due to some other limitations within one or the other. Regards, Richard. Richard Kerry BNCS Engineer, SI SOL Telc

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread Martin Gainty
xslt basedir="doc" destdir="build/doc" extension=".html" style="style/apache.xsl"/> Using an xmlcatalog http://ant.apache.org/manual/Tasks/style.html Martin Gainty __ Jogi és

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread Martin Gainty
que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 1

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread David J. B. Hollis
T xmlcatalog, how it interacts with other Java components such as Saxon, and the Java classpath. HTH, David > > I’m trying to get DocBook WebHelp building working, which uses Ant to control > the various processes involved, in particular Xslt. > I would like to use Catalogs for resol

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Matt Benson
endeavours > to maintain a computer virus-free network, the sender does not warrant that > this transmission is virus-free and will not be liable for any damages > resulting from any virus transmitte > ____ > From: Martin Gainty [mgai...@hotmail.com] >

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Stefan Bodewig
On 2013-08-14, Kerry, Richard wrote: > I'm trying to get DocBook WebHelp building working, which uses Ant to > control the various processes involved, in particular Xslt. I would > like to use Catalogs for resolving my XSL stylesheet locations, and > have thus far been unable

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Kerry, Richard
ble for any damages resulting from any virus transmitte From: Martin Gainty [mgai...@hotmail.com] Sent: 16 August 2013 13:39 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example Richard the best way to handle this is to turn on fu

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Martin Gainty
I would start with something dirt simple like infile and outfile once the infile xslt is transformed to outfile.html THEN you can get test with catalogs and or other forms of collections HTH Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Kerry, Richard
eveloped the catalog while doing other processing using Saxon, which is accessed using a Java task. In that case Saxon takes parameters indicating where to find the catalog file (more accurately the folder containing catalogManager.properties, which points to the Catalog.xml). The documentation

AW: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-14 Thread jhm
in the absence of technology, there is only marketing Jan Von: Kerry, Richard [mailto:richard.ke...@atos.net] Gesendet: Mittwoch, 14. August 2013 17:03 An: user@ant.apache.org Betreff: Use of XML Catalog with Ant (xslt task) - request for example I’m trying to

Use of XML Catalog with Ant (xslt task) - request for example

2013-08-14 Thread Kerry, Richard
I'm trying to get DocBook WebHelp building working, which uses Ant to control the various processes involved, in particular Xslt. I would like to use Catalogs for resolving my XSL stylesheet locations, and have thus far been unable to make this work. I've tried to follow Ant'

Ant xslt task seems to ignore xmlcatalog for mapping dtds

2013-04-25 Thread WULMS Alex
Hi, I'm trying to use the xslt task in Ant to validate some xhtml files. The xhtml files start with a line to indicate the xhtml version. The doctype refers a DTD, like in following example: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://java.sun.com/jsf/html

Re: Increase Java heap within xslt task?

2012-08-06 Thread Mark Giffin
llows From: Mark Giffin To: Ant Users List Cc: Vimil Saju Sent: Sunday, August 5, 2012 7:20 PM Subject: Re: Increase Java heap within xslt task? I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java

Re: Increase Java heap within xslt task?

2012-08-05 Thread Vimil Saju
: Sunday, August 5, 2012 7:20 PM Subject: Re: Increase Java heap within xslt task? I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java task, but I thought it might be a little easier for someone else to understand if

Re: Increase Java heap within xslt task?

2012-08-05 Thread Mark Giffin
I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java task, but I thought it might be a little easier for someone else to understand if I used the xslt task instead. But this seems like more trouble than it is worth

Re: Increase Java heap within xslt task?

2012-08-05 Thread Vimil Saju
max heap memory size is a jvm level setting that the xslt task has no control over. The only way to specify a different heap memory size for the xslt task is to run it in a different jvm, Running the xslt task by setting the fork attribute to true as you showed in the second approach is the way

Increase Java heap within xslt task?

2012-08-05 Thread Mark Giffin
How can I increase the memory for the xslt task from within Ant 1.8.4, not with an environment variable? I am using Saxon by specifying the Saxon jar classpath in this target: This transform job crashes with "java.lang.OutOfMemoryError: Java heap space" un

Re: run XSLT on filelist

2012-05-31 Thread Mark Giffin
Thanks Andy (and Harold in another post), I will check these out. I use Saxon because I'm doing XSLT 2.0 and the ant default processor is XSLT 1.0. I know Saxon can be substituted, but I already had my setup running when I found that out. You're right Andy, I use document() to acce

Re: run XSLT on filelist

2012-05-31 Thread Andy Stevens
Hi Mark, On 29/05/12 23:37, Mark Giffin wrote: I'm making a single PDF out of a group of XML documentation files. It's an API reference document and the items will be alphabetized so input order doesn't matter. I want to use a fileset of XML files as input to an XSLT script,

Re: run XSLT on filelist

2012-05-30 Thread Harold Putman
Check out the pathconvert task: http://ant.apache.org/manual/Tasks/pathconvert.html It will let you convert your filelist of XML files into a single string stored in a property. you can then pass that as a parameter to your XSLT. Harold On Tue, May 29, 2012 at 6:37 PM, Mark Giffin wrote

run XSLT on filelist

2012-05-29 Thread Mark Giffin
I'm making a single PDF out of a group of XML documentation files. It's an API reference document and the items will be alphabetized so input order doesn't matter. I want to use a fileset of XML files as input to an XSLT script, something like this: I have been accomplish

Re: Weird "xslt" task behavior

2011-11-17 Thread Jo Support
11-11-17, Jo Support wrote: > >> Hello everybody, > >> I've noticed a weird behavior from "xslt" task relating to relative >> paths. It seems that "xslt" task set the context for the "style" >> attribute relative path in two different

Re: Weird "xslt" task behavior

2011-11-17 Thread Stefan Bodewig
On 2011-11-17, Jo Support wrote: > Hello everybody, > I've noticed a weird behavior from "xslt" task relating to relative > paths. It seems that "xslt" task set the context for the "style" > attribute relative path in two different ways, depending

Weird "xslt" task behavior

2011-11-17 Thread Jo Support
Hello everybody, I've noticed a weird behavior from "xslt" task relating to relative paths. It seems that "xslt" task set the context for the "style" attribute relative path in two different ways, depending on the way Ant has been executed (via command line

RE: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file The reason for the behavior is because the batch file runs in a separate process. To prevent this behavior, instead of executing the batch file from the main build.xml, you can directly invoke the generated

Re: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Vimil Saju
build.xml run in the same process as the main build.xml. Hope my explanation helps --- On Wed, 3/9/11, Mario Madunic wrote: > From: Mario Madunic > Subject: Unexpected behaviour creating dynamic ANT task via XSLT and > executing via bat file > To: "user@ant.apache.org&qu

Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
(Ant 1.8.2, XP SP3) Background: I’m using ANT to pipeline my conversion of XML (Excel) to PDF via the command line. So I chunked up the various steps into separate project files and import into the build.xml. At one point an XSLT created a bat file to copy required SVGs locally for use in the

Re: xslt task problem (xpath expression)

2010-05-25 Thread Scot P. Floess
I believe the builtin XPath/XSLT is 1.0 only - not 2.0. You will have to enable Saxon to use it... On Tue, 25 May 2010, Jakob Fix wrote: Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon gro

xslt task problem (xpath expression)

2010-05-25 Thread Jakob Fix
hes(., '^\d+$')]] elt1[matches(., '^\d+$')] ant version 1.8.1 I wanted to use saxon's saxon-xslt task instead but it doesn't support the filedirparameter="dirname" and filenameparameter="filename" params which I also need. K:\tests>ant Unable t

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
- Von: Tamer Demirel [mailto:demi...@in.tum.de] Gesendet: Dienstag, 22. Dezember 2009 12:23 An: Ant Users List Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
] Gesendet: Dienstag, 22. Dezember 2009 12:23 An: Ant Users List Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml, test123_input.xml) the filenames for the output should be

AW: XSLT Task File- or Patternset

2009-12-22 Thread Jan.Materne
Not tested ... Jan >-Ursprüngliche Nachricht- >Von: Tamer Demirel [mailto:demi...@in.tum.de] >Gesendet: Dienstag, 22. Dezember 2009 12:23 >An: Ant Users List >Betreff: XSLT Task File- or Patternset > >Hello, > >i like to use the file or patternset

XSLT Task File- or Patternset

2009-12-22 Thread Tamer Demirel
Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml, test123_input.xml) the filenames for the output should be: *_output.xml (01_output.xml

Re: AW: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Tamer Demirel
Betreff: Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML Thx for the suggest, but don't you think I've even look at there and still dont know how its gonna work? I have no clue of ant. And it would be very nice to have a short example about the four command

Re: AW: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Tamer Demirel
Jan -Ursprüngliche Nachricht- Von: Tamer Demirel [mailto:demi...@in.tum.de] Gesendet: Donnerstag, 17. Dezember 2009 11:11 An: Ant Users List Betreff: Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML Thx for the suggest, but don't you t

AW: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Jan.Materne
; extract RAR-File --> >XALAN --> XSLT, XML > >Thx for the suggest, but don't you think I've even look at there and >still dont know how its gonna work? >I have no clue of ant. And it would be very nice to have a >short example >about the four commands,

Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Tamer Demirel
u can find online, and you look at the tasks mkdir, unzip, xslt. Regards, Antoine Tamer Demirel wrote: Hello, i like to automatise my transformations xslt and . So i don't want to build class files. Can somebody give me a short example how i can use ant to achieve it? I need the comm

Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-16 Thread Antoine Levy-Lambert
Hello Tamer, I suggest you open the ant manual that you can find online, and you look at the tasks mkdir, unzip, xslt. Regards, Antoine Tamer Demirel wrote: > Hello, > > i like to automatise my transformations xslt and . So i don't want to > build class files. > Can some

Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-16 Thread Tamer Demirel
Hello, i like to automatise my transformations xslt and . So i don't want to build class files. Can somebody give me a short example how i can use ant to achieve it? I need the commands or example File. What i have: Folder: PROJECT Subfolder: RAR (here are my RAR-File) Subfolder: XSLT

AW: Ant xslt task dand fatal errors

2009-09-30 Thread Knuplesch, Juergen
There is a try catch in antcontrib, that I use... -- Jürgen Knuplesch Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at] Gesendet: Mittwoch, 30. September 2009 10:58 An: user@ant.apache.org Betreff: Ant xslt task dand fatal errors Hi

Ant xslt task dand fatal errors

2009-09-30 Thread Huditsch, Roman (LNG-VIE)
Hi everybody, I am doing several xslt transformations managed by an ant build file. The XSLT processor used is Saxon 9 since our stylesheets are written in XSLT 2.0. My problem now is that if Saxon is reporting a fatal error for the transformation of one input file, the ant task is breaking

Re: xslt task only on files in a subdirectory

2009-08-13 Thread brian m. carlson
On Thu, Aug 13, 2009 at 09:38:12PM +, brian m. carlson wrote: > I've looked through the both the manual and the past few months of list > archives and didn't see any clues; Google has been similarly unhelpful. Ah, I found the problem: I needed to use the useImplicitFileset="false" option, whic

xslt task only on files in a subdirectory

2009-08-13 Thread brian m. carlson
I have a project that contains some XML files in a directory called "src". However, because I must perform several conversions on them, I copy them to a directory called "build" and then run the xslt task on them several times. I want to run this task only on the files that

AW: Xslt troubles

2009-03-25 Thread Knuplesch, Juergen
I run it inside Ant using the xslt task including the saxon9.jar and also the saxon.jar of my colleague (Version 6?) My colleague run it in his environment. But I found a solution: I changed to And now it works with saxon9. I dont know why Maybe saxon9 is xslt 2.0 and saxon 6 is

Re: Xslt troubles

2009-03-25 Thread Stefan Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It looks to me more like a bug in the stylesheet than like an ant issue. Have you tried to run the stylesheet in a debugger or from the command line? Stefan Krause Knuplesch, Juergen schrieb: > Hello, > > I am using Saxon to run a spe

Xslt troubles

2009-03-25 Thread Knuplesch, Juergen
Hello, I am using Saxon to run a special XSLT. This XSLT has run well using saxon9.jar. Now it had to be changed and now I get the following error: [xslt] Processing D:\Temp\xsltPRL\install.dsf to D:\Temp\xsltPRL\Ergebnis.html [xslt] Loading stylesheet D:\Entwicklung\Build

RE: xslt Task

2009-03-09 Thread cknell
> The XSLT runs fine together with Saxon processor. Then use the Saxon processor in ANT. I set the CLASSPATH to include the saxon.jar file, then I set the value of the "processor" attribute to "trax" as shown below. processor="trax" -- Charle

AW: xslt Task

2009-03-09 Thread Knuplesch, Juergen
An: Ant Users List Betreff: Re: xslt Task Le lundi 09 mars 2009, Knuplesch, Juergen a écrit : > Hello, > > we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. > > Why cant Ants XSLT not

Re: xslt Task

2009-03-09 Thread Francis Galiegue
Le lundi 09 mars 2009, Knuplesch, Juergen a écrit : > Hello, > > we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. > > Why cant Ants XSLT not understnad this XSLT? > > Wh

xslt Task

2009-03-09 Thread Knuplesch, Juergen
Hello, we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. Why cant Ants XSLT not understnad this XSLT? What is a good solution? Integrate saxon into Ant? How? Greetings Juergen -- Jürgen Knuplesch

Re: I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, Robert Koberg schreef: Oh, well you could: $ ant mytask > some.txt True, this captures all ant output. Probably the loggers give better control over this global output. You could also implement your own: http://www.saxonica.com/documentation

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 10:02 AM, Ron Van den Branden wrote: Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there i

Re: I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there is the xsl:result-document which lets you write where you want. T

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there is the xsl:result-document which lets you write where you want. best, -Rob - To unsubscribe, e-m

I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, I gather from the documentation at <http://ant.apache.org/manual/CoreTypes/redirector.html> that the element only applies to , , or tasks. I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR

Re: Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-10-02 Thread James Abley
2008/9/30 Marijan (Mario) Madunic <[EMAIL PROTECTED]>: > I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and > am having a hard time with ANT recognizing Xalan when Saxon is in the > Ant/lib. The reason I am running both is that Xalan has a better exte

Re: Xincludes and Ant XSLT task

2008-10-01 Thread David J. B. Hollis
ocs from modular xml files connected using xinclue. I've been trying the Ant XSLT task, but cannot figure out how to tell it to use Xerces xinclude support. Is there an easy way to make the XSLT task use Xerces xinclude support? ---

Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki
XInclude work inside an anttask? > > gz gurki > > > Johnson, Eric wrote: >> >> I'm trying to generate docs from modular xml files connected using >> xinclue. I've been trying the Ant XSLT task, but cannot figure out how >> to tell it to use Xerces xi

Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki
; > I'm trying to generate docs from modular xml files connected using > xinclue. I've been trying the Ant XSLT task, but cannot figure out how > to tell it to use Xerces xinclude support. Is there an easy way to make > the XSLT ta

Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-09-30 Thread Marijan (Mario) Madunic
I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and am having a hard time with ANT recognizing Xalan when Saxon is in the Ant/lib. The reason I am running both is that Xalan has a better extension for SQL than Saxon does and my other XSLT tasks all run with XSL

Re: XSLT task fail rerouting

2008-04-17 Thread Mario Madunic
Steve Loughran <[EMAIL PROTECTED]>: > Madunic, Marijan (RBI-US) wrote: > > I've been looking at the attributes available to the XSLT task on do not > > see an attribute to define what to do if the xslt task fails. > > > > > > > > A b

Re: XSLT task fail rerouting

2008-04-16 Thread Steve Loughran
Madunic, Marijan (RBI-US) wrote: I've been looking at the attributes available to the XSLT task on do not see an attribute to define what to do if the xslt task fails. A bit of background first. Myself and a colleague are parsing 10s of thousands of XML files and every now and then a

XSLT task fail rerouting

2008-04-16 Thread Madunic, Marijan (RBI-US)
I've been looking at the attributes available to the XSLT task on do not see an attribute to define what to do if the xslt task fails. A bit of background first. Myself and a colleague are parsing 10s of thousands of XML files and every now and then an ill formed XML doc comes along. When

AW: xslt uses

2008-04-09 Thread Jan.Materne
There should be examples for the tasks in the manual. Jan > -Ursprüngliche Nachricht- > Von: Z W [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 10. April 2008 05:08 > An: Ant Users List > Betreff: Re: xslt uses > > Hi Jan > Thanks for responding. > Is the

Re: xslt uses

2008-04-09 Thread Z W
Ursprüngliche Nachricht- > > Von: Z W [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 9. April 2008 00:36 > > An: Ant Users List > > Betreff: xslt uses > > > > Hi > > > > I have multiple jtl files to process. > > Each jtl resides in a differe

AW: xslt uses

2008-04-09 Thread Jan.Materne
You can pass a to . So you would get four resulting files which you could append with . Jan > -Ursprüngliche Nachricht- > Von: Z W [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 9. April 2008 00:36 > An: Ant Users List > Betreff: xslt uses > > Hi > > I

xslt uses

2008-04-08 Thread Z W
file. >From reading xslt task man page, my impression is that I can only send in 1 jtl file. Could anyone suggest a good approach to this problem to reach my goal ? Advance thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: xslt out of memory

2008-03-25 Thread Steve Loughran
Z W wrote: Martin I'm not sure what XQuery does and have no time to look into it to learn to use it. Remi I don't think I have recursion problem. Folks, How to I increase the heap size in the Windows Ant bat file ? I cant seem to find it. How does one also include the stack size in Windows Ant ?

Re: xslt version

2008-03-21 Thread Z W
Hi I just downloaded saxon9-0-0-4j.zip file. There are a few jar files. Do I need to put all the jar files into ant/lib to get XSLT 2.0 to work ? Or do I just copy saxon9-ant file only ? thanks - To unsubscribe, e-mail: [EMAIL

Re: xslt out of memory

2008-03-21 Thread Z W
never add more than 1 value to a Windows Env variable via their GUI before ? How do I do that ? The problem I'm trying to solve with xslt is to find min and max value of a column based on 2 attributes but I'm getting these errors. Thank you for your help On Thu, Mar 20, 2008 at 9:15 A

RE: xslt out of memory

2008-03-21 Thread remi.clavier
Verify that you don't have infinite recursion in your stylesheet It's the most frequent cause of that... -Message d'origine- De : Z W [mailto:[EMAIL PROTECTED] Envoyé : jeudi 20 mars 2008 17:13 À : Ant Users List Objet : xslt out of memory Hi Is there a workaroun

Re: xslt out of memory

2008-03-20 Thread Martin Gainty
and if you request just the requested node with xquery e.g. doc("NameofXML.xml")/NodeName?Martin- Original Message - From: "Z W" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, March 20, 2008 6:19 PM Subject: Re: xslt out of memory > C

Re: xslt out of memory

2008-03-20 Thread Z W
Chun I did once and there was no reply from there. So I gave up; On Thu, Mar 20, 2008 at 3:33 PM, Chun Ji <[EMAIL PROTECTED]> wrote: > > This type of question has nothing to do with ANT. > > Go to: http://www.mulberrytech.com/xsl/xsl-list, > and post your xslt question in

RE: xslt out of memory

2008-03-20 Thread Chun Ji
This type of question has nothing to do with ANT. Go to: http://www.mulberrytech.com/xsl/xsl-list, and post your xslt question in that news group. Lots of XML/XSLT Geeks( including Michael Kay) answer all type of questions over there every day. I am sure yours can be solved right away

Re: xslt out of memory

2008-03-20 Thread supareno
l file ?? i know that huge file causes out of memory exception !! check out htis: http://www.velocityreviews.com/forums/t170526-huge-xml-files-xslt-memory-problems-java-amp-sax.html it could be related to your problems regards supareno Hi Is there a workaround to this issue ? Thanks

Re: xslt out of memory

2008-03-20 Thread Z W
on !! > check out htis: > > http://www.velocityreviews.com/forums/t170526-huge-xml-files-xslt-memory-problems-java-amp-sax.html > > it could be related to your problems > > regards > supareno > > > Hi > > Is there a workaround to this issue ? > > >

Re: xslt out of memory

2008-03-20 Thread supareno
what is the size of the xsl file ?? i know that huge file causes out of memory exception !! check out htis: http://www.velocityreviews.com/forums/t170526-huge-xml-files-xslt-memory-problems-java-amp-sax.html it could be related to your problems regards supareno Hi Is there a workaround to

xslt out of memory

2008-03-20 Thread Z W
Hi Is there a workaround to this issue ? Thanks [xslt] Loading stylesheet \\filer\zw_detail.xsl BUILD FAILED C:\Documents and Settings\report_main.xml:15: The following error occurred while executing this line: C:\Documents and Settings\report_main.xml:133: java.lang.OutOfMemoryError

  1   2   3   >