You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/03/05 22:28:41 UTC

DO NOT REPLY [Bug 27486] New: - task should allow a url for the style param

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