[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in nxml-mode (indentation)?

From: Jason Rumney
Subject: Re: Bug in nxml-mode (indentation)?
Date: Tue, 18 Dec 2007 10:23:26 +0000
User-agent: Thunderbird (Windows/20071031)

Eric Lilja wrote:
> But how should a file be indented for this XPath-thing to do its work
> correctly? Not at all or depending on other parameters?

The text enclosed within an element should not be indented at all,
unless the user explicitly says so, or the user is using some
specialization of nxml-mode, such as xhtml-mode, where it is known that
the application will normalize whitespace.

Elements and attributes can be indented as normal, as whitespace is not
significant there.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]