56 Commits

Author SHA1 Message Date
Stefan Bodewig
197f9ee4ec Add support for setting system properties in xslt. PR 36653.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720892 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 14:45:10 +00:00
Stefan Bodewig
def52dd8af Add a failOnNoResources attribute to xslt. PR 46274.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720862 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 14:24:01 +00:00
Stefan Bodewig
a92061f3cb Add failOnError to xslt. PR 36260.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720858 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 14:08:20 +00:00
Stefan Bodewig
a0c1be104d add an option to suppress processor warnings. PR 18897.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720775 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 09:34:16 +00:00
Jan Materne
b4ba0ddba1 <style> is deprecated in favor of <xslt>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@620501 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 15:08:49 +00:00
Matthew Jason Benson
3d79403c2d document nested style element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447997 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:22:17 +00:00
Stefan Bodewig
782372dee5 remove copyright lines that match my fisrt attempt at a regexp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442093 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:33:25 +00:00
Stefan Bodewig
443e397b46 Add license header
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442089 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:19:00 +00:00
Stefan Bodewig
d0281846d0 re-generate site
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@436633 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 03:46:29 +00:00
Jan Materne
a1608d62d4 Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
* changed from File.getParent() to String.substring() to avoid changing between / and \
* "dir" defaults to '.' instead of empty string, so dir+'/'+name would not result in an absolute path

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423009 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 08:28:25 +00:00
Jan Materne
303b70f86b Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422692 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 12:03:07 +00:00
Jacobus Martinus Kruithof
18784a313b Removed support for Xalan1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417020 13f79535-47bb-0310-9956-ffa450edef68
2006-06-25 14:38:27 +00:00
Antoine Levy-Lambert
88f1be2d04 Add support to define the stylesheet as a resource in <xslt>
Bugzilla Report 39407


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@409378 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 12:39:19 +00:00
Antoine Levy-Lambert
a9772ceefc 2006 and try to adapt indentation to level of nesting of the elements described
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@395742 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 00:28:35 +00:00
Antoine Levy-Lambert
df3fb58d79 Remove xslp usage from ant.
Bugzilla 23455.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@395723 13f79535-47bb-0310-9956-ffa450edef68
2006-04-20 23:00:46 +00:00
Stefan Bodewig
575148a663 resource collection support for xslt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292249 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 18:46:40 +00:00
Steve Loughran
ec9145fe3a PR36680: comment on java bundled XSL engines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289642 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 20:03:57 +00:00
Jesse N. Glick
2a0bbc499f Removing some gratuitous XHTML-isms. They still break JavaHelp, alas, and the manual is anyway not even strictly
formatted plain HTML, much less XHTML.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 18:58:16 +00:00
Matthew Jason Benson
85cb24b8eb Remove stray semicolon.
PR: 34356
Submitted by: Jim Fuller


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278116 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 19:40:17 +00:00
Jesse N. Glick
8a86b8228f #25832: deprecating the task names <WsdlToDotnet> and <style>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278068 13f79535-47bb-0310-9956-ffa450edef68
2005-03-28 23:22:12 +00:00
Stefan Bodewig
6245e1c47c stronger warning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277988 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 16:12:44 +00:00
Peter Reilly
8bb8dce32c stray blockquote
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277873 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 13:09:25 +00:00
Peter Reilly
ebd1d6e28d some fixes to align examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277869 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 13:01:55 +00:00
Peter Reilly
f62a1b10b7 add reference to stylesheet for CoreTasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277821 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:09:10 +00:00
Stefan Bodewig
3935a662f5 consistent use of <code> - submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277057 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:12 +00:00
Stefan Bodewig
6dbabcb776 Add nested mappers to xslt, PR: 11249
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276322 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 08:36:01 +00:00
Antoine Levy-Lambert
ff348804c1 Copyright owner The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276069 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 21:50:10 +00:00
Antoine Levy-Lambert
d9c45b7a34 Improve documentation concerning external libs for the style task.
Basically no external libs are required if using JDK 1.4
PR: 25274
Submitted by: Jesse Glick (jglick at netbeans dot org)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275757 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 22:59:54 +00:00
Peter Reilly
5d847c583e Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by:	 Peter Reilly & Jan Mat��rne


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:01:10 +00:00
Antoine Levy-Lambert
e0b6e804f0 XSLT/param@expression used as string instead of as expression as documented
There were 2 options to fix the bugreport :
- change the code
- change the documentation
I hope that the option to change the documentation is OK.
Thanks for the bug report.
PR: 21525


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274957 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 16:40:08 +00:00
Stefan Bodewig
55640a285a Adapt some @since tags after merge to 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274007 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 14:20:38 +00:00
Stefan Bodewig
b6bc02e324 2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273962 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 13:06:48 +00:00
Conor MacNeill
8513609d9c Rename the reuseloadedstylesheet to reloadstylesheet with inverted sense
Make the TraxLiason cache the templates instance
Reset the transformer if a new stylsheet is set

PR:     13589


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273944 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 04:39:07 +00:00
Stefan Bodewig
411b9f267d Throw in a reuseloadedstylesheet attribute for <style> (feel free to
come up with a better name).  This provides a workaround for a bug in
Xalan-J - the version that gets distributed with JDK 1.4.1.

PR: 13859

based on a patch submitted by:	Jens Elkner <elkner at linofee.org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273545 13f79535-47bb-0310-9956-ffa450edef68
2002-11-15 11:59:31 +00:00
Stephane Bailliez
5fa2b3cd64 trax factory settings are now configured within a <factory> element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273104 13f79535-47bb-0310-9956-ffa450edef68
2002-07-12 21:25:29 +00:00
Stephane Bailliez
1e8307708d Allow to specify a given factory implementation for the transformer
(xsltc, xalan, saxon...) and to specify processor specific settings.

TraxLiaison has been completely refactored because the factory
needed to be created once everything was set up.

I don't think it is final state since it might be better to specify factory attributes
and element in a <factory> element rather than how it is now.

XSLTProcess starts to bevery difficult to read with all the inner classes as well...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273089 13f79535-47bb-0310-9956-ffa450edef68
2002-07-11 22:52:55 +00:00
Magesh Umasankar
da5a13f8e4 Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
2002-07-09 21:06:15 +00:00
Magesh Umasankar
6bd8d6e938 Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
2002-06-22 23:38:38 +00:00
Magesh Umasankar
ca91f8cb7e Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 12:26:43 +00:00
Erik Hatcher
9115223753 Added <xslt> alias for the Style task to make it easier to find for users
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272416 13f79535-47bb-0310-9956-ffa450edef68
2002-04-13 11:18:28 +00:00
Stefan Bodewig
c28fbe7d76 <style> tried to tranform all children of directories that matched the
include patterns - even children that are themselves directories.

Throw in a check that the thing we want to transform is not a
directory and an attribute to avoid this non-standard (among directory
based tasks) behavior.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271564 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 16:39:37 +00:00
Stephane Bailliez
e967d77e02 Fix HTML title to be more useful for indexing.
PR: 5020
Reported By: jesse.glick@netbeans.com (Jesse Glick)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271131 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:00:42 +00:00
Stefan Bodewig
b6a3e9df36 License police on documentation files:
(1) Make sure there is a Copyright notice on all visible files.

(2) Make sure all years in which the file has been modified are
listed.

(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.

When Stephane changed starteam.html it has been 2001 in France but
2002 in Australia - does that mean we add 2002 to the Copyright line
or not?  ;-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:48:33 +00:00
Stefan Bodewig
7cbd5df017 Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
2002-01-09 09:08:39 +00:00
Sam Ruby
3781d8b0e1 Add support to for XSLT output types. This maps to TraX's:
transformer.setOutputProperty(OutputKeys.METHOD, type);

Background/rationalle: I'm looking into spliting Gumps gen.bat and gen.sh
scripts into a minimal bootstrap and a normal Ant "build.xml".  In order
to achieve this, I need access to the functionallity that Xalan supports
from the command line via the -text parameter.

I've provided an implementation to seed the discussion on how this should
be supported.  I am by no means wedded to this approach - if others see a
better way, either let me know or directly make the change.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270023 13f79535-47bb-0310-9956-ffa450edef68
2001-11-26 18:10:45 +00:00
Stephane Bailliez
9b3ee48039 Fix grammatical errors or incorrect documentation.
PR: 4993
Submitted by: jeff@socialchange.net.au (Jeff Turner)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270006 13f79535-47bb-0310-9956-ffa450edef68
2001-11-25 16:32:51 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Stefan Bodewig
65c82879ee Make <style> support Exolab's new Adaptx processor.
Submitted by:	Arnaud Blandin <blandin@intalio.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269832 13f79535-47bb-0310-9956-ffa450edef68
2001-10-29 11:16:49 +00:00
Conor MacNeill
a8d4391240 Merge from 1.4 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 13:23:14 +00:00
Stefan Bodewig
613142401d documentation for latest <style> changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269218 13f79535-47bb-0310-9956-ffa450edef68
2001-06-22 07:45:16 +00:00