Re: Auto-inserting <![CDATA[ ... ]]>

"D. D. Brierton" <[email protected]> Tue, 24 Feb 2004 12:09:35 +0000
Newsgroups gmane.emacs.psgml.user
Organization DZR Web Development
Message-ID <[email protected]>
On Mon, 2004-02-23 at 22:09, Peter Flynn wrote:
> On Mon, 2004-02-23 at 10:46, D. D. Brierton wrote:
> >     /*<![CDATA[*/
> > 	if (i < foo && j < bar) {
> 
> Ah. Can't you just say if (i &lt; foo &amp;&amp; j &lt; bar) {

No, I'm afraid not. No browser supports that to the best of my
knowledge.

> To DIY:
> 
> 	C-x ( <![CDATA[]]> C-b C-b C-b C-x )
> 
[snip]

Thanks for the help Peter. Actually, it turns out that Syd Bauman's
reply was the best way to do this -- that is, to customize
sgml-custom-markup. That also provided a solution for an easy way to
insert the xhtml xmlns attribute with the correct value.

Thanks for your help.

Best, Darren

-- 
=====================================================================
D. D. Brierton            [email protected]          www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
=====================================================================



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click