unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitri.Minaev@britishcouncil.ru
Subject: RE: xml indenting, possibly with psgml?
Date: Thu, 12 Dec 2002 10:17:44 +0400	[thread overview]
Message-ID: <B5CFBC051993D41196FF00D0B78EE626DA3D10@RUS2NT01> (raw)

For those missing the DTD for build.xml:

http://www.sdv.fr/pages/casa/html/ant-dtd.en.html

PS: I didn't try it, though. Build.xml files are evil, use Make instead ;)

--
With best regards,
Dmitri Minaev


> -----Original Message-----
> From: Bjoern [mailto:p1@blinker.net]
> Sent: Tuesday, December 10, 2002 11:14 PM
> To: help-gnu-emacs@gnu.org
> Subject: Re: xml indenting, possibly with psgml?
> 
> 
> Jim Crossley wrote:
> > Bjoern <p1@blinker.net> writes:
> > 
> > 
> >>I can't figure out how to make psgml indent my xml-files. It just
> >>doesn't do anything when I press 'tab' or do 'indent-region'.
> > 
> > 
> > M-x customize-variable RET sgml-indent-data
> 
> Hm, my emacs doesn't seem to know that variable :-(
> 
> >>I also get an error message because it doesn't find the dtd, can't I
> >>get rid of that. I guess I really only need indenting and possibly
> >>syntax highlighting.
> > 
> > 
> > You'll only get that error once (the first time it attempts to
> > parse).  You can live with it (and still derive benefit from
> > indentation, etc) or you can create a local CATALOG file 
> that contains
> > the DTD references you commonly use.  I highly recommend 
> this article:
> 
> The problem is that there isn't really a DTD for ant build.xml files. 
> ALthough I think there now is a target to create one from a 
> build file, 
> but I am not sure if it's practical if it's constantly changing.
> 
> Bjoern
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

             reply	other threads:[~2002-12-12  6:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12  6:17 Dmitri.Minaev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-10 17:20 xml indenting, possibly with psgml? Jayakrishnan Nair
2002-12-06 14:24 Bjoern
2002-12-06 15:55 ` Jim Crossley
2002-12-10 23:13   ` Bjoern
2002-12-11 20:34     ` Kai Großjohann
2002-12-06 16:19 ` Stefan Monnier <foo@acm.com>
2002-12-10 23:29   ` Bjoern
2002-12-11  0:32     ` Bjoern
2003-01-10  5:33   ` Gman
2003-01-12 20:46     ` Stefan Monnier <foo@acm.com>
2002-12-06 21:45 ` Michael Slass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5CFBC051993D41196FF00D0B78EE626DA3D10@RUS2NT01 \
    --to=dmitri.minaev@britishcouncil.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).