Search the web
Sign In
New User? Sign Up
emacs-nxml-mode · New XML Mode for Emacs
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1080 - 1109 of 1980   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1080
Hello! Do check the website of the week by visiting http://newwebsitepick.info . The website also says how you can nomiate your website if you have one. ...
Kathy S
kathy_tn189
Offline Send Email
Nov 4, 2005
3:18 am
1081
I have something like this in a php file: <a href="<?php echo get_settings('home'); ?>">Home</a> The nxml parser gets upset when finding < inside the...
Lennart Borgman
nlborgman
Offline Send Email
Nov 6, 2005
7:51 pm
1082
... PHP scripts are not XML. Repeat: PHP scripts are not XML. At least not in general. The XML spec forbids literal < and & in attribute values. No amount of...
J.Pietschmann
j3322ptm
Offline Send Email
Nov 6, 2005
8:45 pm
1083
... Yes, thanks, but does the nxml parser forbid it? It would be very convinient if the parser allowed it. Is it possible in some way to allow it? Or, maybe...
Lennart Borgman
nlborgman
Offline Send Email
Nov 6, 2005
8:58 pm
1084
... Here are some further comments if someone is thinking about this: The idea of .php web pages as far as I understand it is that a php page looks like a ...
Lennart Borgman
nlborgman
Offline Send Email
Nov 6, 2005
10:21 pm
1085
... The above way of doing php is a bit "old fashioned". I would suggest switching to a template engine, like Smarty (http://smarty.php.net/). Then the line...
Søren Lund
soren_lund
Offline Send Email
Nov 7, 2005
7:23 am
1086
... Thanks Søren. I did not know about that. However in this particular case I am not the author, rather the user. The application I am using is WordPress. I...
Lennart Borgman
nlborgman
Offline Send Email
Nov 7, 2005
1:32 pm
1087
... No, it is written for XML, and handles that very well. If you choose to use it for other syntax's then you'll need to accept that there are risks. ... Why,...
Dave Pawson
dpawson2000
Offline Send Email
Nov 7, 2005
2:01 pm
1088
... Yes, I know and I agree. It is just that it would be nice in my opinion to have a little bit tweaked nxml-mode working for php as well. But php pages are...
Lennart Borgman
nlborgman
Offline Send Email
Nov 7, 2005
3:14 pm
1089
... Which makes the two things incompatible? XML and *some* php files? ... Yes, if you look at the url, it is a Processing instruction; Meant to be application...
Dave Pawson
dpawson2000
Offline Send Email
Nov 7, 2005
3:25 pm
1090
... It is not a nxml-mode issue, but a PHP issue. ... There exists a php-mode. Why don't you use it? If you don't like some features in it either, then this is...
Vincent Lefevre
vinc17fr
Offline Send Email
Nov 7, 2005
3:30 pm
1091
... Yes. ... Thanks, I see. Then it looks like php was written to be xml compliant, but that it fails in the case below. ... Thanks. ... nxml-mode is better...
Lennart Borgman
nlborgman
Offline Send Email
Nov 7, 2005
3:32 pm
1092
... I think the only way would be a configuration variable that makes "<" allowed in an attribute; normal users would let it set to nil, and PHP users could...
Vincent Lefevre
vinc17fr
Offline Send Email
Nov 7, 2005
3:51 pm
1093
... Yes, that is the way I am thinking. ... That is difficult to handle, but at the moment I want to skip that. An argument would just be anything between...
Lennart Borgman
nlborgman
Offline Send Email
Nov 7, 2005
4:27 pm
1094
I use emacs' mmm-mode (http://mmm-mode.sourceforge.net/) for exactly this purpose. It allows to assign different major modes to different sections within the...
Justus Piater
jpiater
Offline Send Email
Nov 9, 2005
9:49 am
1095
... Thanks Justus, that sounds nice. There is actually an entry on http://www.emacswiki.org/cgi-bin/wiki/NxmlModeForXHTML where Dean Scarff says he has got...
Lennart Borgman
nlborgman
Offline Send Email
Nov 9, 2005
10:02 pm
1096
Lennart Borgman <lennart.borgman.073@...> wrote on Wed, 09 ... I think it worked out-of-the-box. All I did specially has to do with my personal...
Justus Piater
jpiater
Offline Send Email
Nov 11, 2005
10:21 am
1097
... From your comments it looks more like out-of-the-head ;-) ... I would be glad if you wanted to share this "trivial" customization with us. That would...
Lennart Borgman
nlborgman
Offline Send Email
Nov 11, 2005
1:28 pm
1098
... It might be trivial, but it would also be wrong. Part of the xml spec is that the encoding is utf-8 unless otherwise specified in the xml header. The...
Jason Rumney
jprumney
Offline Send Email
Nov 11, 2005
1:39 pm
1099
... Thanks, then the current behaviour is surely correct from that point of view. However in my case I will have to think about a workaround since php was not...
Lennart Borgman
nlborgman
Offline Send Email
Nov 11, 2005
2:00 pm
1100
... But it does 'disturb' the validity to the XML standard, as used by nxml-mode? ... Yes, I agree. nxml-mode is very good for XML. Let's keep it that way. ...
Dave Pawson
dpawson2000
Offline Send Email
Nov 11, 2005
2:15 pm
1101
... Why? Nxml could just as now say that the buffer is not valid XML syntax....
Lennart Borgman
nlborgman
Offline Send Email
Nov 11, 2005
2:20 pm
1102
Hi, it seems like the hooks in after-change-major-mode-hook are not run when entering nxml-mode. From what I can see, this is due to using run-hooks instead of...
David Reitter
davidswelt
Offline Send Email
Nov 11, 2005
3:09 pm
1103
... And if you want to be backwards-compatible (run-mode-hooks doesn't exist in older Emacs versions, possibly <21.3): (if (fboundp 'run-mode-hooks) ...
davidswelt
Offline Send Email
Nov 12, 2005
11:56 am
1104
Lennart Borgman <lennart.borgman.073@...> wrote on Fri, 11 ... # div blocks containing a subset of XHTML Strict, without namespace include...
Justus Piater
jpiater
Offline Send Email
Nov 14, 2005
10:25 am
1105
... nxml-mode does more than that. It also says where the errors are and does this very nicely, with a minimal set of errors. For instance, the fact that the...
Vincent Lefevre
vinc17fr
Offline Send Email
Nov 14, 2005
11:08 am
1106
... nxml-mode doesn't use the DTD (or possibly only for entities?), but a RNC schema. ... Only if this wouldn't bloat it; nxml-mode must still be very fast in...
Vincent Lefevre
vinc17fr
Offline Send Email
Nov 14, 2005
11:08 am
1107
... No, this is not completely true. The encoding may be specified in an external way. A customizable local variable could be such an external declaration; so,...
Vincent Lefevre
vinc17fr
Offline Send Email
Nov 14, 2005
11:18 am
1108
... I guess the result would be no better and no worse than if the sections to ignore where just erased instead. At least that is the simple case I am after...
Lennart Borgman
nlborgman
Offline Send Email
Nov 14, 2005
2:32 pm
1109
... Thanks for the education. I save this. ... I had no idea this was there. Thanks. ... On the page http://www.emacswiki.org/cgi-bin/wiki/PhpMode it says that...
Lennart Borgman
nlborgman
Offline Send Email
Nov 14, 2005
3:06 pm
Messages 1080 - 1109 of 1980   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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