Groups | Search | Server Info | Login | Register


Groups > comp.text.xml > #894

Re: Schematron questions

From "N. Raghavendra" <nyraghu27132@gmail.com>
Newsgroups comp.text.xml
Subject Re: Schematron questions
References <87vabuodmk.fsf@hri.res.in> <c30e5652-67cf-431a-af95-7da3533718d8@googlegroups.com> <871see5kta.fsf@gmail.com> <87sh6u44hh.fsf@gmail.com> <fm6br2Fs67sU1@mid.individual.net>
Message-ID <87vabltltf.fsf@gmail.com> (permalink)
Organization usenet-news.net
Date 2018-05-18 13:52 +0530

Show all headers | View raw


At 2018-05-17T22:51:30+01:00, Peter Flynn wrote:

> I have been trying to make it clear for some time that nXML is *not* an
> editor suitable for writing XML documents.

Well, it is a part of Emacs, and I have read good things about it, as in

http://archive.oreilly.com/pub/h/2044

http://www.xmlhack.com/read.php_item=2061

and

https://www.tbray.org/ongoing/When/200x/2003/09/18/NXML

Therefore, I thought it was reasonable to use it for editing XML.

> What you want is psgml, which has the full set of document-editing
> features (completion, insertion, encapsulation, deletion, change,
> splitting, attribute editing, etc). Install it from your Emacs repos (I
> think it's in marmelade).

Yes, I have used PSGML quite a bit for editing DocBook SGML, and found
it very nice.  But, for a few years, it seemed unmaintained, though now
it seems to be having some recent commits at the ELPA Git repository.

> There is a separate xxml-mode.el which provides even more editing
> features.

I didn't know about this; thanks for telling me.

> But psgml only works with DTDs (XML DTDs as well as SGML DTDs) as it has
> no knowledge of RNG or W3C schemas. This is usually not a problem for
> the document-world (books, journals, articles), where RNG/W3C are rarely
> used yet.

If one wants to publish a book with a commercial publisher, one may have
to use a DTD.  However, I am planning to release my work under a
combination of the Gnu FDL and the GNU GPL, so I will have to take care
of the publishing myself, whatever "publishing" may mean here (it will
certainly include putting the product on a public Web site).  Given
that, I have considered two schemas, the DocBook schema, and the
`mathbook' schema (http://mathbook.pugetsound.edu/).  Both of them use
RELAX NG as their primary schema language.  However, neither of these
schemas really suits my needs, so I am trying to write a simple schema
that will do for me.

> When I win the Lottery I will fund an elisp expert to modify psgml
> a) to support RNG/W3C;
> b) to add a few features like element-join; and
> c) merge the features of xxml-mode and fix a few trivial buglets.
>
> Unless some valiant elisp hacker cares to step up to the plate...

That'd be good!

Thanks,
Raghu.

PS: Thanks also for the book `Understanding SGML and XML tools'.  I have
often found it a useful reference.

--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/

Back to comp.text.xml | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Schematron questions "N. Raghavendra" <raghu@hri.res.in> - 2018-05-11 12:58 +0530
  Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-11 13:44 +0530
  Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-12 13:43 +0530
  Re: Schematron questions George Bina <george@oxygenxml.com> - 2018-05-14 06:52 -0700
    Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-14 20:46 +0530
      Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-14 21:24 +0530
        Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-17 22:51 +0100
          Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-18 13:52 +0530
            Re: Schematron questions Manuel Collado <m-collado@users.sourceforge.net> - 2018-05-18 15:39 +0200
              Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-18 20:40 +0530
            Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-18 20:56 +0100
              Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-19 10:15 +0530
                Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-20 22:32 +0100
                Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-21 08:30 +0530
                Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-06-29 22:32 +0100
                Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-07-01 00:24 +0530

csiph-web