xsl-list
[Top] [All Lists]

RE: [xsl] Check for duplicate @id's - collection()

2008-07-19 11:58:24
Hi Vladimir,

Can you elaborate on >id="gen.{generate-id()}

I have never scene this syntax gen. 

Regards,

Phil


-----Original Message-----
From: Vladimir Nesterovsky [mailto:vladimir(_at_)nesterovsky-bros(_dot_)com] 
Sent: Saturday, July 19, 2008 1:04 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Check for duplicate @id's - collection()

I tell my students that if they use generate-id() for a value set they 
should *only* use generate-id() for all values in the set.

This is too restrictive policy.
One may use namespaces to differentiate id nature:

id="gen.{generate-id()}"

or

id="my.{...}"

--
Vladimir Nesterovsky
http://www.nesterovsky-bros.com/




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--