RE: [nant-dev] Back to an old style issue...

2004-11-26 Thread Gert Driesen
 

 -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


RE: [nant-dev] Back to an old style issue...

2004-11-26 Thread Giuseppe Greco
Yes, but not immediately...

I'll let you know.
j3d.

On Fri, 2004-11-26 at 12:28 +0100, Gert Driesen wrote:
  
  -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
-- 

Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com




---
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


Re: [nant-dev] Back to an old style issue...

2004-11-26 Thread Stefan Bodewig
On Wed, 24 Nov 2004, Giuseppe Greco [EMAIL PROTECTED]
wrote:

 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 is how Ant solves it.  We've added an xmlcatalog data type and
support it in style, xmlvalidate and I think a few other tasks as
well.

xmlcatalog is based on the OASIS standard
http://oasis-open.org/committees/entity/spec-2001-08-06.html.

Stefan

-- 
http://stefanbodewig.blogger.de/


---
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


[nant-dev] Back to an old style issue...

2004-11-24 Thread Giuseppe Greco
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...

j3d.


Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
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