Re: [PHP-DOC] snaps.php.net/manual/ html formatting From: Egon Schmid ( <email protected>) (( <email protected>))
Date: 08/14/00

Jesus Castagnetto wrote:
>
> IIRC it has to do with the stylesheets being applied to the DocBook
> XML source.
>
> You could hack the stylesheets, or use something like "tidy" from W3C
> for post-processing and also to check for bad HTML. BTW I have used
> that program to check my XML files too.

Yes it is the Modular DocBook HTML Stylesheets. Actually Version 1.56 as
you can see in the meta tag "GENERATOR" below. Another possibility is to
use the expat library to parse and transform the XML files. But it is an
overkill. I normaly use Jade to generate the 1500 visual badly formed
HTML pages.

-Egon

> Quoting Daniel Beckham <danbeck <email protected>>:
>
> > Anyone know why the html formatting in the English manual snapshot
> at
> > snaps.php.net/manual/ looks like this:
> >
> > <HTML
> > ><HEAD
> > ><TITLE
> > >PHP Manual</TITLE
> > ><META
> > NAME="GENERATOR"
> > CONTENT="Modular DocBook HTML Stylesheet Version 1.56"><LINK
> > REL="NEXT"
> > TITLE="Preface"
> > HREF="preface.html"><META
> > NAME="HTTP_EQUIV"
> > CONTENT="text/html; charset=ISO-8859-1"></HEAD
> > ><BODY
> > CLASS="book"
> > BGCOLOR="#FFFFFF"
> > TEXT="#000000"
> > LINK="#0000FF"
> > VLINK="#840084"
> > ALINK="#0000FF"
> > >
> >
> > It doesn't really matter to the browser, but is there a reason that
> a
> > newline is inserted between every attribute and ending bracket of a
> html
> > tag?
> >
> > Daniel
> >
> >
>
> -------------------------------------------------
> Created by Zkey.com - http://www.zkey.com
> Awarded PCMagazine's Editors' Choice

-- 
SIX Offene Systeme GmbH · Stuttgart  -  Berlin  -  New York
Sielminger Straße 63   ·    D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de