[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: xml indenting, possibly with psgml?
From: |
Dmitri . Minaev |
Subject: |
RE: xml indenting, possibly with psgml? |
Date: |
Thu, 12 Dec 2002 10:17:44 +0400 |
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
>
Re: xml indenting, possibly with psgml?, Michael Slass, 2002/12/06
- RE: xml indenting, possibly with psgml?,
Dmitri . Minaev <=