1
vote
1answer
44 views

How can I fold arbitrary tags with nxml-mode?

I would like to fold <type> <xsl:attribute name="multiplicity"> <xsl:choose> <xsl:when test="collection = true">*</xsl:when> ...
1
vote
1answer
336 views

How to efficiently type in a pair of XML tags in Emacs?

How to efficiently type in a pair of XML tags such as <tag></tag> in Emacs? I am hoping some sort of auto-complete behavior.
1
vote
1answer
199 views

View an XML file without any carriage returns or other text formatting as a tree

I've opened an XML file in emacs, and it's the output from a web request so it's just in one long line. Can I execute a command to format it into a tree structure?
6
votes
3answers
1k views

Make emacs not remove the BOM from XML files

I use Emacs to edit an XML file that is also read by another application. The other application requires that the file start with a byte-order marker (BOM). However, Emacs seems to remove the BOM ...