Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

emacs-nxml-mode · New XML Mode for Emacs

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 239
  • Category: XML
  • Founded: Sep 5, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 2056 - 2099 of 2146   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
2056 Peter Flynn
docum3nt Send Email
May 7, 2011
10:35 pm
I just upgraded a machine to Ubuntu Natty, which installed Emacs 23.2, which appears to open XML files in nxml-mode by default. My .emacs file says ... which...
2057 Jason Rumney
jprumney Send Email
May 8, 2011
4:35 am
... Replace the autoload line in your .emacs with: (require 'nxml-mode) (require 'psgml) This will ensure that psgml overrides nxml's definition of xml-mode....
2058 Dave Pawson
dpawso Send Email
May 8, 2011
7:04 am
... Guessing you want psgml less than nxml-mode, I simply load psgml-mode when needed, manually. Not like James to screw up psgml-mode though. wonder if it's a...
2059 Peter Flynn
docum3nt Send Email
May 8, 2011
10:10 am
... For me it's the other way around: I need psgml for everything, and I haven't yet found a use for nxml. If I need nxml I can load it manually; for my work...
2060 Peter Flynn
docum3nt Send Email
May 8, 2011
12:49 pm
On 08/05/11 05:35, Jason Rumney wrote: [...] ... Perfect, many thanks. ///Peter...
2061 Steinar Bang
sb@... Send Email
May 8, 2011
6:10 pm
... They probably made an assumption, but I'm guessing that the assumption was that psgml is no longer actively maintained. Of course, neither is nxml-mode,...
2062 Peter Flynn
docum3nt Send Email
May 8, 2011
6:46 pm
... DTD parsing (I'm sure nxml has this, I just haven't seen it at work). C-c C-e element insertion with TAB completion according to the DTD; the population of...
2063 Dave Pawson
dpawso Send Email
May 9, 2011
6:26 am
... C-c C-- was my last 'need' for psgml-mode, about a week ago. remove markup around point. sgml-untag-element regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook...
2064 Dave Pawson
dpawso Send Email
May 9, 2011
6:33 am
... I don't think it does Peter. ... RTFM? M-q ... RTFM again :-) It's there ... Out of scope for nxml-mode. ... It's there. I even have an html version...
2065 Jason Rumney
jprumney Send Email
May 9, 2011
1:49 pm
... Not directly, but converting DTDs to RelaxNG is very easy. (see http://relaxng.org/#conversion)...
2066 Peter Flynn
docum3nt Send Email
May 9, 2011
8:24 pm
... That's a show-stopper for the moment until they all convert to RNG. At the moment there are large banks of entity-dependent code. ... Must do that again. ...
2067 Steinar Bang
sb@... Send Email
May 16, 2011
4:48 pm
... As others have said: no it doesn't. But creating a RNG schema from a DTD using trang, is really easy. And you can persist the association between your...
2068 Steinar Bang
sb@... Send Email
May 16, 2011
4:57 pm
... But there is nothing stopping you from having both psgml and nxml. I use psgml for HTML editing and nxml for all xml format....
2069 Peter Flynn
docum3nt Send Email
May 16, 2011
11:51 pm
... Thank you very much for that, it's very useful. ///Peter...
2071 hrumph2004 Send Email Jul 3, 2011
2:47 pm
in xhtml 5 the charset attribute is a valid attribute of the meta tag. For instance <meta charset="UTF-8" /> is valid in xhtml 5 and the w3c validator will...
2072 Edward O'Connor
hmallow42 Send Email
Jul 3, 2011
8:56 pm
... You need to point nxml-mode at XHTML5 .rnc files. You can find instructions and code here: https://github.com/hober/html5-el HTH Ted...
2073 hrumph2004 Send Email Jul 4, 2011
2:39 am
... Thanks a lot for the tip. I'll check it out....
2078 Mihamina Rakotomandimby
rakotomandim... Send Email
Aug 17, 2011
6:32 am
Hi all I usually update my blog using Drivel (http://dropline.net/past-projects/drivel-blog-editor/) In the "body" part, there is no need to put entire xHTML...
2079 Dave Pawson
dpawso Send Email
Aug 17, 2011
6:45 am
... which is not html, nor xml for which nxml-mode is intended. ... If sgml-mode meets your needs, use it. ... Still available in sgml-mode ... As intended. ...
2080 Stephen Langer
stephen_langer Send Email
Aug 17, 2011
2:08 pm
... It seems to be *too* strict. ... How do you tell nxml how to find the dtd and that the contents of this file are inside <book> tags? Is there a better way...
2081 Dave Pawson
dpawso Send Email
Aug 17, 2011
2:28 pm
... No. Appropriate for xml. ... Yes. Any xml. ... nxml-mode isn't too happy working with DTD's. ... You don't. Use trang to convert to relax NG, then use the...
2082 Stephen Langer
stephen_langer Send Email
Aug 17, 2011
3:40 pm
... Thanks. I'd forgotten that I'd already done that. But I never figured out how to tell nxml that a file whose first xml tag was <chapter> or <para> is...
2083 Dave Pawson
dpawso Send Email
Aug 17, 2011
3:48 pm
... Wrong tool Validate on the command line, or edit the rnc file to tell nxml-mode that the entity can start on chapter? HTH -- Dave Pawson XSLT XSL-FO FAQ. ...
2084 Stephen Langer
stephen_langer Send Email
Aug 17, 2011
6:20 pm
... But isn't the whole point that nxml helps you write valid xml, by showing you your mistakes and suggesting and autocompleting the valid tags at any point?...
2085 Peter Flynn
docum3nt Send Email
Aug 17, 2011
9:50 pm
On 17/08/11 19:19, Stephen Langer wrote: [...] ... I looked at it and went back to psgml. It's simply doesn't have the interface (commands) that you need for...
2086 Dave Pawson
dpawso Send Email
Aug 18, 2011
6:43 am
... In which case provide the rnc schema for nxml-mode to use. nxml-mode doesn't hack xinclude or external entities. ... I didn't suggest it was. Modify the...
2087 Steinar Bang
sb@... Send Email
Aug 20, 2011
9:25 am
... You could try to "sudo apt-get install psgml"...? It may not bind to your XML documents file extensions in auto-mode-alist, but that's easily fixed. psgml...
2092 Tony Graham
tgraham@... Send Email
Nov 14, 2011
1:14 pm
If you are using `rnc--mode&#39; by David Rosenborg [1] when editing RNC schemas, you may be interested in adding the following to your .emacs to add a 'RNC' menu...
2093 Dave Pawson
dpawso Send Email
Nov 14, 2011
1:29 pm
... ! Not seen that, thanks. when editing RNC ... Thanks. Appreciated. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk...
2099 Tony Graham
tgraham@... Send Email
Feb 22, 2012
1:16 pm
From http://inasmuch.as/2012/02/22/flymake-for-relax-ng-compact-syntax/ (require 'flymake) (defun flymake-rnc-init () (let* ((temp-file...
Messages 2056 - 2099 of 2146   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help