Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 23:52:25 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        Alfred Perlstein <bright@mu.org>
Cc:        Murray Stokely <murray@FreeBSD.org>, doc@freebsd.org, nik@freebsd.org
Subject:   Re: should i be using sgml or xml?
Message-ID:  <20011220235225.I51511@clan.nothing-going-on.org>
In-Reply-To: <20011220093411.A48837@elvis.mu.org>; from bright@mu.org on Thu, Dec 20, 2001 at 09:34:11AM -0600
References:  <20011219192738.E95146@elvis.mu.org> <20011220032529.F27392@windriver.com> <20011220093411.A48837@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--YrQNB5Deg1WGKZi3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 20, 2001 at 09:34:11AM -0600, Alfred Perlstein wrote:
> Well I am using FreeBSD docbook, however I wasn't sure what path
> you guys were following.  I was also hoping for some form of an
> indent(1) tool, I assumed xml would work better than sgml for that.
>=20
> Is there an indent(1) for sgml?

Emacs + psgml mode + some lisp to automate it.

> You guys planning on doing xml any time soon?  (not that I want you
> to, just wondering if you might).

We'll probably switch in 18 months or so.  I started saying that a year
ago, and it's always been "18 months".  There's no compelling reason to
migrate yet, especially as valid SGML can be mechanically converted to=20
valid XML.

I've just knocked up

    http://people.freebsd.org/~nik/sgmlxml.gif

which shows the relationship between the various components that make up
the SGML and XML processing tool chains.  Note the green line going from
"DocBook SGML Source", via "sx", to "DocBook XML Source".  This lets us
use the XSLT stylesheets to process SGML, if we wanted.  Note also that=20
Jade, when given the XML declaration on the command line, can process XML=
=20
documents using DSSSL -- we really have the best of all possible worlds
at the moment.

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--YrQNB5Deg1WGKZi3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwiebgACgkQk6gHZCw343UQqACcD2EIH3L75I8jJBe+8m4qtgR/
SkMAn0zSLhTIgdj8WOQxXTYtaxkuG3qD
=X4Xu
-----END PGP SIGNATURE-----

--YrQNB5Deg1WGKZi3--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011220235225.I51511>