xsl-list
[Top] [All Lists]

Re: Putting characters in an element

2003-10-02 06:30:41
Hi Sergiu,

Harm, are you sure that the dot "." is an acceptable character for
an element name in XML? I don't think so.

It is. See the XML Recommendation at http://www.w3.org/TR/REC-xml,
which defines element names with the BNF:

[4]    NameChar    ::=    Letter | Digit | '.' | '-' | '_' | ':' | 
CombiningChar | Extender
[5]    Name    ::=    (Letter | '_' | ':') (NameChar)* 

As you can see. NameChar includes '.'.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>