German translation

2002-03-03 Thread Lars Eilebrecht
Hi, 

a few days ago I had a discussion with my publisher MITP in Germany
(I just finished the new edition of my Apache book for them) about
our  documentation.

They are offering us to translate the Apache documentation (for 2.0)
into German (or to sponsor the translation), provided that they
get the right to publish the german documention as a book.

What do you think about this offer?

They told me that they are currently doing the very same with
the MySQL documentation.

ciao...
-- 
Lars Eilebrecht   - I don't know, I don't care,
[EMAIL PROTECTED]- and it doesn't make any difference.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: German translation

2002-03-03 Thread Justin Erenkrantz
On Sat, Mar 02, 2002 at 07:37:47PM -0500, Cliff Woolley wrote:
 The documentation is covered under the Apache Software License same as
 everything else I believe, so nothing's stopping anybody from taking the
 documentation, doing whatever they want to it, and publishing it.  :)

What a dry book that'd be!  -- justin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: German translation

2002-03-03 Thread Lars Eilebrecht
According to Justin Erenkrantz:

 What a dry book that'd be!  -- justin

Only if the original documentation is dry as well ... ;-)


ciao...
-- 
Lars Eilebrecht- Out of coffee--error. Programmer halted.
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: German translation

2002-03-03 Thread Astrid Keßler
 They are offering us to translate the Apache documentation (for 2.0)
 into German (or to sponsor the translation), provided that they
 get the right to publish the german documention as a book.

LOL, what a timing. My promise for a german translation is meant
business. I'm doing this in my spare time just for fun and this
brilliant software. Now I'm working at the second file and I think next
week I'll post the first part for review.

I never thought about been sponsored or anything else, but if they want
and nothing objects to the license ... Lars, I hope I didn't mistake you
and you won't do this translation yourself? Do you mind you could give me
your contact or tell your contact my name? MITP already knows me as one
of their authors.

Kess

E-Mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Another XML question

2002-03-03 Thread Patrik Grip-Jansson
On Sat, 2 Mar 2002, Joshua Slive wrote:

  In mod_include I hvae a link that looks like:
  a href=mod_cgi.htmlCGI/a
  What is the correct way to do this with the module tag?
 I thought about that a little, and I think it is right the way it is.  A
 module tag designates the name of a module.  If you want to link to a
 module without using its name, an ordinary link is correct IMHO.

Is really a good idea to use a html href? If we want to convert the xml 
into something else (pdf, clay tables, what ever) it's probably easier if 
we were to use some of our own markups.

-- 
.-.
| Patrik Grip-Jansson |
| Ringen 4B   |..
| 78444 Borlänge   .--'' http://gnulix.com/ `-.
| Sweden   |  All views and opinions are my own,  |
`--| PH:+46(0)24382823 PW:+46(0)707354360 |
   `--'


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New xsl template

2002-03-03 Thread Patrik Grip-Jansson
Ooops, I included the wrong version of manual.xls.

note has gotten a new selector type. So far the only acceptable value 
is warning. note type=warning will get you a more reddish 
background, than the usual notes.

To parapgrase Crocodile Dundee; Yes, it looks like shite, but you can use!

I'll try to get it better next time...

-- 
.-.
| Patrik Grip-Jansson |
| Ringen 4B   |..
| 78444 Borlänge   .--'' http://gnulix.com/ `-.
| Sweden   |  All views and opinions are my own,  |
`--| PH:+46(0)24382823 PW:+46(0)707354360 |
   `--'
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE xsl:stylesheet [ !ENTITY nbsp #160; ]
xsl:stylesheet version=1.0
  xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
  xmlns=http://www.w3.org/TR/xhtml1/strict;

!-- Include constants, variables, and macros --
xsl:import href=settings.xsl /

xsl:output method=html encoding=iso-8859-1 indent=yes/

 !-- Process an entire document into an HTML page --
 xsl:template match=modulesynopsis
html
 head
xsl:comment
X
 This file is generated from xml source: DO NOT EDIT
X
/xsl:comment
  xsl:apply-templates select=meta/
  titlexsl:value-of select=name/ - Apache HTTP Server/title
  link rel=stylesheet type=text/css href=../style/manual.css /
 /head
 body
  blockquote
   div align=center
img src=../images/sub.gif alt=[APACHE DOCUMENTATION] / 
h3Apache HTTP Server Version 2.0/h3
   /div
   h1 align=centerxsl:value-of select=$messages/[EMAIL 
PROTECTED]'apachemodule']/ xsl:value-of select=name//h1
   !-- Description and module-headers --
   table bgcolor=#cc cellpadding=0 cellspacing=1trtd
table bgcolor=#ff
 trtd valign=topspan class=helpxsl:value-of 
select=$messages/[EMAIL PROTECTED]'description']/:/span /td
 tdxsl:apply-templates select=description//td/tr
 trtda class=help href=module-dict.html#Statusxsl:value-of 
select=$messages/[EMAIL PROTECTED]'status']/:/a /td
 tdxsl:value-of select=status//td/tr
  xsl:if test=identifier
 trtda class=help 
href=module-dict.html#ModuleIdentifierxsl:value-of select=$messages/[EMAIL 
PROTECTED]'moduleidentifier']/:/a /td
 tdxsl:value-of select=identifier//td/tr
  /xsl:if
  xsl:if test=compatibility
 trtda class=help href=module-dict.html#Compatibility
   xsl:value-of select=$messages/[EMAIL 
PROTECTED]'compatibility']/:/a /td
 tdxsl:apply-templates select=compatibility//td
 /tr
/xsl:if
   /table
 /td/tr/table

!-- Summary of module features/usage (1 to 3 paragraphs, optional) --

xsl:if test=summary
  h2Summary/h2
  xsl:apply-templates select=summary/
/xsl:if

xsl:if test=seealso
 pstrongxsl:value-of select=$messages/[EMAIL 
PROTECTED]'seealso']//strong/p
 ul
  xsl:for-each select=seealso
   lixsl:apply-templates//li
  /xsl:for-each
 /ul
/xsl:if

!-- Index of directives, automatically generated from
 directivesynopsis/name --

h2Directives/h2

xsl:if test=directivesynopsis
  ul
 xsl:for-each select=directivesynopsis
   xsl:sort select=name/
   xsl:variable name=name
 xsl:value-of select=name/
   /xsl:variable
   xsl:variable name=lowername 
 select=translate($name, $uppercase, $lowercase) /
   xsl:if test=not(@location)
 lia href=#{$lowername}xsl:value-of select=name//a/li
   /xsl:if
   xsl:if test=./@location
 xsl:variable name=location
   xsl:value-of select=./@location/
 /xsl:variable
 xsl:variable name=lowerlocation 
   select=translate($location, $uppercase, $lowercase) /
 lia href={$lowerlocation}.html#{$lowername}xsl:value-of 
select=name//a/li
   /xsl:if
 /xsl:for-each
  /ul
/xsl:if
xsl:if test=not(directivesynopsis)
  pThis module provides no directives./p
/xsl:if

!-- Sections of documentation about the module as a whole --

xsl:apply-templates select=section/

hr /

!-- Directive documentation --

xsl:apply-templates select=directivesynopsis
  xsl:sort select=name/
/xsl:apply-templates 

!-- Page footer --

h3 align=centerApache HTTP Server Version 2.0/h3
a href=./img src=../images/index.gif alt=Index //a
a href=../img src=../images/home.gif alt=Home //a

/blockquote
/body
/html
/xsl:template !-- /modulesynopsis --


!-- Subsections: get a lower level heading --
  xsl:template match=section/section
   xsl:variable name=href
  xsl:value-of select=@id/
/xsl:variable
  !-- Section heading --
xsl:if test=@id
  h3a name={$href}xsl:apply-templates select=./title 
mode=print//a/h3
/xsl:if
xsl:if test=not(@id)
  h3xsl:apply-templates select=./title mode=print//h3
/xsl:if
  !-- Section body --
xsl:apply-templates/
  /xsl:template

!-- Process a documentation section --
  

Re: New xsl template

2002-03-03 Thread Joshua Slive


On Sun, 3 Mar 2002, Patrik Grip-Jansson wrote:

 Ooops, I included the wrong version of manual.xls.

 note has gotten a new selector type. So far the only acceptable value
 is warning. note type=warning will get you a more reddish
 background, than the usual notes.

 To parapgrase Crocodile Dundee; Yes, it looks like shite, but you can use!

 I'll try to get it better next time...

I just committed this.  It looks pretty good.  Here are some outstanding
issues, in no particular order:

1. Some more things will need to translated, like Summary.  But the
overall framework looks good.

2. There are now extra spaces in some places (after a directive name) and
missing spaces in some places (Apache modulemod_setenvif).

3. I'm now having problems with my Xalan transformations.  Everything
seems to work fine if I transform one document at a time, but if I try to
use the ant task to do the whole bunch, I get seemingly random failures
with:

javax.xml.transform.TransformerException:
java.lang.ArrayIndexOutOfBoundsException: -1

Anyone have any ideas?

Joshua.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]