On Wed, 16 Oct 2002, Arshavir Grigorian wrote:

> Now last time I checked, XML tags should not contain underscores
> (only hyphens). TT on the other hand, doesn't allow hyphens in the
> variable names. So here is my dilemma: you can't have this model
> function without breaking either the XML specs or the TT.
> Including underscores in XML tags doesn't break the XML::Simple
> (though I don't know what other broader implications it might
> have) pre se; I am just wondering whether I am doing something
> wrong, or whether this is commonplace and I just have to live with
> it. 

Actually, XML allows underscores in element/attirbute names.  Here's
the relevant section of the spec:

  http://www.w3.org/TR/REC-xml#sec-common-syn

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash                              Power to the People!
Frolicking in Fields of Garlic               Right On-Line!
[EMAIL PROTECTED]                                  Dig it all.


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to