ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Stirling" <>
Subject RE: Generating relative paths with XSLT
Date Sun, 17 Nov 2002 18:58:24 GMT
> From: Frank Carver []
> I make a lot of use of Ant's XSLT task to build all the web 
> pages in a site from simple XML definitions to fully marked 
> up pages with fancy graphics and menus etc. 
> Now, mostly, this works, but I have one problem. If I were 
> making the pages by hand, I would use relative (eg. 
> ../../images/logo.gif) URLs whenever I refer to another page 
> or image in the stylesheet (for a common navigation menu or 
> site-wide logo, for example). With the XSLT approach, I can't 
> seem to work out how to do this.

Please explain what you mean.  Do you get errors during transformation?
Not sure what the real problem is.  How exactly do the relative hrefs in
the input XML differ from the output HTML?

Scott Stirling

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message