9 Aug 2006 08:04
aliasing tags?
aamehl <aamehl <at> actcom.net.il>
2006-08-09 06:04:44 GMT
2006-08-09 06:04:44 GMT
Hi all,
I was wondering how possible this would be.
I want to have emacs/nxml alias the tags so that a user doesn't see
the actual docbook/xhtml etc elements but a marker. (I know who needs
such a thing, but I have so "I am scared of tags people)
Additionally I would like to map the Return key to (once enable that
way) put down the default tag (as defined) for that element.
For example:
<section1><title></title>{Return} would a <para></para> with the
cursor between the start and end tag.
Another return would put down another <para></para> of course
additional tags would need to be entered explicitly.
The same for lists with Return laying down the list item plus para tag
unless explicitly stopped.
Is this at all possible with emacs/nxml?
Thanks,
Aaron
Yahoo! Groups Links
(Continue reading)
On 8/14/06, Norman Walsh <ndw <at> nwalsh.com> wrote:
> / "Chris Chiasson" <chris <at> chiasson.name> was heard to say:
> | <div id="ygrp-text">
> | <p>I am in the process of switching to db5. Given (the generality of)<br>
> | RELAX NG and the requirements of nxml mode, my guess is that (at<br>
> | least) someone has written a db5 schema extension that allows<br>
> | xi:include to occurr anywhere in db5 document. If you have written<br>
> | such an extension of db5 and you are inclined to share it, I beg you<br>
> | to do so.<br>
>
> That's part of the standard 5.0 distribution. For example,
>
>
RSS Feed