| Hi, i'm writing an Adoxx program, i have a class with a RECORD attribute inside. It is linked to a Record Class. I'm trying to add the RECORD attribute to my cockpit file as following:
<xsl:element name="ATTRIBUTES"> <xsl:attribute name="NAME">Change Attribute</xsl:attribute> <xsl:attribute name="TYPE"> <xsl:value-of select="./attribute[@name='change attribute']/@type"></xsl:value-of></xsl:attribute> <xsl:element name="VALUE"><xsl:value-of select="./attribute[@name='change attribute']"></xsl:value-of></xsl:element> </xsl:element>
I cannot receive the expected result because in cockpit file i receive this string:
<ATTRIBUTES NAME="Change Attribute" TYPE="">
As you can see, Type "" is empty so it cannot see the attribute.
Hope you can help me, thank you very much.
Fabio Monteneri. |