Re: [xsl] Putting characters in an element

Subject: Re: [xsl] Putting characters in an element
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 2 Oct 2003 14:30:41 +0100
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


Current Thread