ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27486] New: - <xslt> task should allow a url for the style param
Date Fri, 05 Mar 2004 21:28:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27486>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27486

<xslt> task should allow a url for the style param

           Summary: <xslt> task should allow a url for the style param
           Product: Ant
           Version: 1.5.4
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: c-colin.barrows@mci.com


I would like to ba able to specify something like:

<xslt in="file.xml" out="file.txt" style="http://www.somewhere.com/style.xsl"/>

I scoured the manual, but wasn't able to figure out how to accomplish this
other than by copying the remote style.xsl file to the local filesystem.
The problem is simply that the xslt task is prepending the project basedir
to the string in the style attribute.  Perhaps an additional tag like
"remotestyle" or "urlstyle" would work if is messy to add this functionality
to the "style" attribute (I notice that absolute paths have been deprecated
from that field and I suspect that may be the reason).  Thanks.

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


Mime
View raw message