I have an xml file in which there is tag namely, <Gender/> It carries either M or F as data, now my work is to test the value and write <Gender_Tag>Male</Gender_Tag>
or <Gender_Tag>Female</Gender_Tag>
according to the values M or F respectively .. I tried this code .. It used to work in other circumstances..
I m tokenising a string with XSLT 1.0 and trying to prevent empty strings from being recognised as tokens. Here s the entire function, based on XSLT Cookbook: <xsl:template name="tokenize"> ...