I
Iain
Hi,
I am trying to transform a XML document using a XSL document.
One of my attributes is called RECORDS which needs to contain a value of
how many records are in the data feed so my database package knows how
many records it needs to import, the way to return this number I thought
would be to count an attribute which only appears once, so I added the
following element <xsl:value-of select="count(//Client/@WorkCode)"/> but
it always returns 0.
Does anybody know a way to do this as what I am doing must be wrong.
TIA
I am trying to transform a XML document using a XSL document.
One of my attributes is called RECORDS which needs to contain a value of
how many records are in the data feed so my database package knows how
many records it needs to import, the way to return this number I thought
would be to count an attribute which only appears once, so I added the
following element <xsl:value-of select="count(//Client/@WorkCode)"/> but
it always returns 0.
Does anybody know a way to do this as what I am doing must be wrong.
TIA