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 "<% %>"...
... 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...
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...
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 "<"...
... 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...
... 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,...
... At least within tal/metal attributes you can safely use < instead of the '<'. It doesn't cause tal/metal to misbehave. I'd simply try that for...
... 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...
... It won't, unfortunately. JavaScript in (X)HTML is handled for various reasons in such a way that < does not become <. Use JavaScript in XML comments....
... 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...
... It depends whether an XML or HTML (SGML) parser is used. -- Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/> 100% accessible validated...
... 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...
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...
... <script type="text/javascript"><!-- if (a<b) a=b; // --> </script> The javascript comment hides the XML end-of-comment from the HTML parser. David...
... 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...
... 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...
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....
... 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...
... 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,...
... I have entered this on the EmacsWiki: http://www.emacswiki.org/cgi-bin/wiki/NxmlModeForXHTML I prefer the other comment style (/* ... */) because this...
... 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...
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...
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...
... 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 ...