xsl-list
[Top] [All Lists]

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

2008-07-19 12:27:30
Thanks Michael,

 

-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Sent: Saturday, July 19, 2008 3:03 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Check for duplicate @id's - collection()


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

I have never scene this syntax gen. 


It's a standard attribute value template. Any attribute of a literal result
element can include embedded XPath expressions within curly braces.

Perhaps you're more used to seeing cases where the whole attribute is a
single embedded expression, as in

id="{generate-id()}"

Michael Kay
http://www.saxonica.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>
--~--