This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, I m using this tag in my xsl <xsl:value-of select="Cost_Code"/> My xml can however, have all letters in Cost_Code in upperecases or some letters in uppercase and some in lower. How should i change my xsl such that case of the tags in xml are immaterial? Do let me know if thats not possible. Regards, Shelly.
OR if your xml structure is like this <code> <Cost_code>24</Cost_code> </code> Selecting code will give u the value of Cost_code <xsl:value-of select="//Code"/> Basically its not a good idea to have variant xml structure.
hi..shelly, the question U put up here is interesting...XML is designed in such a way that U need to concentrate mostly on silly errors we commit subconciously...most of the programmers come across the same problem as U... what Mr.Balaji has posted is somewhat right in saying so, co'z i can say that it can be possible using descendent axis for which U may feel complicated but if want i can help U....it needs a further knowledge in XML to get to understand... with regards, raja