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...
Show off your group to the world. Share a photo of your group with us.

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 1188 - 1217 of 1979   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1188
I'm currently using mmm-mode with nxml-mode and ruby-mode to edit ruby .rhtml files which contain segments of code embedded between either "<%= %>" or "<% %>"...
palefacerocker
Offline Send Email
Feb 2, 2006
5:42 pm
1189
... They aren't tags. I wonder if MMM Mode can play correctly with this. IMHO, no. And if it doesn't, I can't see a way to achieve this with nXML. You can...
Florent Georges
darkman_spam
Offline Send Email
Feb 2, 2006
10:25 pm
1190
Hi all, I did a presentatin about three years ago, and I want to redo it with docbook-slides. 1. I see the .rnc style sheet to link to but is there a way to...
Aaron
aamehl
Offline Send Email
Feb 5, 2006
10:15 am
1191
Is this valid XHTML? (inside the head-tag): <script type="text/javascript"> function lt(a, b) { return (a < b); } </script> nxml-mode complains about the "<"...
Lennart Borgman
nlborgman
Offline Send Email
Feb 6, 2006
11:49 pm
1192
... I think, that nxml-mode is right. XML parser will treat "<" as a start-of-the-tag marker not as a less-than operator of the javascript. As a workaround you...
Victor Anyakin
anyakinvictor
Offline Send Email
Feb 7, 2006
7:21 am
1193
... This is not valid, and even not well-formed XML. IIRC, this was OK for HTML (as a SGML application) since DTDs are mandatory with SGML. And in particular,...
Vincent Lefevre
vinc17fr
Offline Send Email
Feb 7, 2006
10:30 am
1194
... At least within tal/metal attributes you can safely use &lt; instead of the '<'. It doesn't cause tal/metal to misbehave. I'd simply try that for...
Reinout van Rees
rvanrees
Offline Send Email
Feb 7, 2006
11:29 am
1195
In order for outline mode to work in nxml, I believe, out of ignorance, that one must edit the default regex: ...
John Gage
arbogast37
Offline Send Email
Feb 7, 2006
11:33 am
1196
... Ill-formed. ... What nXML is saying to you: replace '<' by '<'. This is not a markup character, it's a Javascript operator. So the XML parser must see...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
11:39 am
1197
... Which regexp? How do you modify it? Which version of nXML are you using? ... Which command did you try? Reagrds, --drkm ...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
11:42 am
1198
... It won't, unfortunately. JavaScript in (X)HTML is handled for various reasons in such a way that &lt; does not become <. Use JavaScript in XML comments....
David Tolpin
dtolpin
Offline Send Email
Feb 7, 2006
11:43 am
1199
... If you use XML, '<' means '<' for the application, behind the XML parser. ... Please don't do that. The parser is not obliged to return comments to the...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
12:19 pm
1200
... It depends whether an XML or HTML (SGML) parser is used. -- Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/> 100% accessible validated...
Vincent Lefevre
vinc17fr
Offline Send Email
Feb 7, 2006
12:27 pm
1201
... Florent, theory is great. The original poster asked about editing XHTML with nxml-mode. He also asked about php or something like that. If you use XHTML...
David Tolpin
dtolpin
Offline Send Email
Feb 7, 2006
12:52 pm
1202
Thanks for all the comments. In summary it looks like something like this must be used (if it should work both with nxml-mode and in a web browser): <script...
LENNART BORGMAN
nlborgman
Offline Send Email
Feb 7, 2006
1:01 pm
1203
... <script type="text/javascript"><!-- if (a<b) a=b; // --> </script> The javascript comment hides the XML end-of-comment from the HTML parser. David...
David Tolpin
dtolpin
Offline Send Email
Feb 7, 2006
1:05 pm
1204
... Isn't it? But I don't speak in a theoretical level. If you're using an XML parser, you'll see '<' in place of the '<'. Just try it. ... Can you please...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
1:10 pm
1205
... Easily. Try loading this: <html> <head> <script type="text/javascript"> function greeting() { if(1&lt;2) window.alert("hi"); } </script> </head> </html> ...
David Tolpin
dtolpin
Offline Send Email
Feb 7, 2006
1:24 pm
1206
... The problem is that is not guaranted to work, because it's really wrong. If a tool use an XML parser, it can not see the comment, because the parser can...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
1:25 pm
1207
Oh, sorry! Thanks for correcting me. ... From: David Tolpin <dvd@...> Date: Tuesday, February 7, 2006 2:04 pm Subject: Re: [emacs-nxml-mode] XHTML...
LENNART BORGMAN
nlborgman
Offline Send Email
Feb 7, 2006
1:34 pm
1208
From: Florent Georges <darkman_spam@...> Date: Tuesday, February 7, 2006 2:25 pm Subject: Re: [emacs-nxml-mode] XHTML format and nxml-mode ... Ok, I see....
LENNART BORGMAN
nlborgman
Offline Send Email
Feb 7, 2006
1:34 pm
1209
... Mmh. Sounds a little bit peremptory, sorry. But AFAIK CDATA is known to work in the browsers/SGML world, isn't it? While commenting will not always work...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
1:36 pm
1210
... This is OK with a SGML/HTML parser (in this context, this is not a comment), but not with a XML parser[*], where the comment will probably be removed,...
Vincent Lefevre
vinc17fr
Offline Send Email
Feb 7, 2006
1:44 pm
1211
... First, this is not an XHTML file. ... No problem with Firefox. ... Modern browsers such as Firefox have an XML parser. -- Vincent Lefèvre...
Vincent Lefevre
vinc17fr
Offline Send Email
Feb 7, 2006
2:03 pm
1212
... Like with Firefox (I've just tried). With: <script type="text/javascript"> //<!-- function greeting() { if(1<2 bzz) window.alert("hi"); } //--> </script> ...
Vincent Lefevre
vinc17fr
Offline Send Email
Feb 7, 2006
2:09 pm
1213
... I have entered this on the EmacsWiki: http://www.emacswiki.org/cgi-bin/wiki/NxmlModeForXHTML I prefer the other comment style (/* ... */) because this...
Lennart Borgman
nlborgman
Offline Send Email
Feb 7, 2006
4:19 pm
1214
... Ok, I thought you spook about something special with PHP. But the solution I spook about is the one with CDATA. I don't see the advantage to use the...
Florent Georges
darkman_spam
Offline Send Email
Feb 7, 2006
7:03 pm
1215
It is best for me to quote from the instructions for nxml-outline mode to give an idea of what I am talking about. Incidentally, I think I may have been making...
John Gage
arbogast37
Offline Send Email
Feb 7, 2006
7:25 pm
1216
I was going to convert my SGML catalog which lists a bunch of public ids to nxml mode schema locations file, but found out that doctypePublicId instruction has...
nsushkin
Offline Send Email
Feb 11, 2006
6:45 am
1217
... Not sad at all. 1. whats a public id? 2. nxml-mode is for XML, not SGML. Don't complain about updates till yours has been refused. DaveP -- Dave Pawson ...
Dave Pawson
dpawson2000
Offline Send Email
Feb 11, 2006
3:16 pm
Messages 1188 - 1217 of 1979   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