What does this part of stylesheet do?

admin

Administrator
Staff member
Hi all,
I have a stylesheet having the following code. Can somebody translate this for me since i am a novice in interpreting this:
<xsl:number count="entity_property[edde = '0000003005' and eid <= $NoteID and not(prop_value[translate(.,'
','') = ''])]" from="/*/entity_property[edde = '0000003005' and position() = 1]"/>

As far as i know, the translate function translates the special characters for &,', ''.. but i would like to get a confirmation from someone who is more experienced. Instead of translating i wanted to use the CDATA section of XML. Can i do this here so that i escape whenevr i come across any special characters. If yes, how do i do it?

Thanks
Ahalya
 
Back
Top