Re: [xsl] Naming styles

Subject: Re: [xsl] Naming styles
From: xptm@xxxxxxx
Date: Fri, 20 Aug 2004 18:13:18 +0100
You have a good strong point there. It seems that the people who wrote XSL
have
that convention in mind, so it's a good practice to follow it.

I think i'll go for it!

Quoting Vasu Chakkera <vasucv@xxxxxxxxxxx>:

> Isnt it usually a convention to have hyphen separated names for template
> names?
> like
> <xsl:template name = "get-formatted-string"/>
>
> this is what I usually name ...I think also looking at the XSLT elements,to
> get a clue,
> all the elements are hyphen separated .. like <xsl:call-template> or
> <xsl:for-each>
> as opposed to having it as <xsl:callTemplate> or <xsl:forEach>.. I
> personally feel comfortale with hyphen separated names ...
> Other conventions being lower cased XML element names.
>
>
> Vasu
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
>
>







O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim!
Clique em: http://antivirus.sapo.pt

Current Thread