No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Hi try this... <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="Vendor"> <xsl:element name="Vendor"> <xsl:element name="Contact"> <xsl:attribute name="Id"> <xsl:value-of select="Contact/@Id"/> </xsl:attribute> <xsl:attribute name="CmpnyNm"> <xsl:value-of select="Contact/@CmpnyNm"/> </xsl:attribute> <xsl:attribute name="ContactNm"> <xsl:value-of select="Contact/@ContactNm"/> </xsl:attribute> <xsl:for-each select="Contact"> <xsl:choose> <xsl:when test="@Id = (preceding-sibling::*/@Id | following-sibling::*/@Id)"> <xsl:copy-of select="Phone"/> </xsl:when> </xsl:choose> </xsl:for-each> </xsl:element> </xsl:element> …
Hi , I think problem is in selecting element <saabgroup:CModel with prefix in the language in which you are trying to extract value.so first you declare name space in your file then use this.. <c:get select="/saabgroup:CModel/namespace/classes/qualifiers[1]/value[2]"> I am not sure because I don't know your language but logically it should …
The End.
indrajeet.verma