> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Giuseppe Greco
> Sent: woensdag 24 november 2004 8:51
> To: [EMAIL PROTECTED]
> Subject: [nant-dev] Back to an old <style> issue...
> 
> Hi all,
> 
> As discussed some time ago, before processing a DocBook document, one
> should first download the stylesheet with the <get> task:
> 
> 
> <target name="build-html">
>   <get
>     
> src="http://docbook.sourceforge.net/release/xsl/current/xhtml/
> chunk.xsl"
>     dest="chunk.xsl">
>     <proxy host="proxy.domain.com" port="8080">
>       <credentials username="user" password="password" />
>     </proxy>
>   </get>
>   <style style="chunk.xsl" in="myDocument.xml" />
> </target>
> 
> 
> Well, assuming we have a proxy server, the target above works just
> partially... The <get> task isn't a problem at all since we can
> specify the proxy settings, but the <style> task fails because
> there is no way to specify them... Do you remember? DocBook documents
> have to be validated against the DocBook DTD:
> 
> 
> <?xml version="1.0" encoding="utf-8"?>
> 
> <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"; [
>   <!ENTITY introduction SYSTEM "introduction.xml">
>   ...
>   <!ENTITY glossary SYSTEM "glossary.xml">
> ]>
> 
> <book id="myBook" lang="&language;">
>   ...
> </book>
> 
> 
> To solve this problem we should be also able to set proxy
> settings in the <style> task. Furthermore, doing so we don't
> need anymore to first download the stylesheet with the <get>
> task.
> 
> Another interesting feature world be the ability to
> specify a XML catalog in the <style> task in order to
> provide a mapping from generic addresses to specific
> local directories on a given machine...

This would indeed be very interesting. Do you have time to look into this ?

Gert



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to