This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
<!-- Template for root rule --> <xsl:template match="/"> <xsl:apply-templates select="translate(/USERDATA/USER@userId,$lowercase,$uppercase)" /> <USERDATA> <xsl:copy-of select="USERDATA/USER[@userId=$id and @password=$pw]/*" /> </USERDATA> </xsl:template> </xsl:stylesheet>
Purpose: I am seaching the xml based on the Userid(Case-insensitive search) and password. Please let me know how do i achive this functionality and are there any alternatives to do the same job? Thanks and Regards, Prasad.