[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xml-lite.el
From: |
Felix Natter |
Subject: |
Re: xml-lite.el |
Date: |
09 Mar 2002 17:24:05 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Karl Eichwalder <address@hidden> writes:
> Felix Natter <address@hidden> writes:
>
> > Which characters are allowed at the beginning of a (normal) tag, and
> > which characters are allowed for the following characters ?
>
> For XML? Please, check the XML Standard at www.w3.org; IIRC, Unicode
> characters are even allowed for tag names. You can issue the following
> command if you want to know whether "_:d-2" is allowed as an element
> name:
>
> {
> cat /usr/share/sgml/openjade/xml.dcl
> echo '<!DOCTYPE _:d-2. [ <!ELEMENT _:d-2. (#PCDATA)> ]><_:d-2.>x</_:d-2.>'
> } | onsgmls -wxml
> onsgmls:<OSFD>0:1:W: SGML declaration was not implied
> (_:d-2.
> -x
> )_:d-2.
> C
>
> The warning isn't fatal. As you can see allowed names depend on the
> SGML/XML declaration in use.
Sorry, we are in the process of modifying xml-lite.el so that it works
with _SGML_, so I was asking about SGML.
> > That's why I suggest to tell users who need this to use html-helper-mode
> > (http://www.gest.unipd.it/~saint/hth.html) instead.
>
> Others are happy with psgml plus xxml.el (plus some self written macros).
Yes, but psgml doesn't support things like <?php ?>, jsp and asp.
--
Felix Natter