Re: XML access control by custom ID
xsl:key works as follows here: given the string 'anybody--1', the xsl:key function will return any my_id (below the root node of access.xml) whose value (calculated according to the use attribute of the xsl:key element) is 'anybody--1'. Then it will go up one level from
Actually, I shouldn't have used the term 'value' here because it will add a new level of confusion. I should have said "whose key (calculated according to the use attribute of the xsl:key element) is 'anybody--1'". In key/value terms, the returned my_id element is the value for the 'anybody--1'.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format