Hi thanks for your help, I'll give this a try. I don't have a prof to ask since I've been asked to look at this in my job! Would be nice if I did though.
Ok thanks for your reply. At the moment I have this:
<xsl:template match="Rec">
<xsl:value-of select="Street"/>
<xsl:value-of select="City"/>
<xsl:value-of select="Postcode"/>
</xsl:template>
So is there a way I can check only the postcode node for null values? I'm not clear on the syntax of...
Ah yes something along those lines. How do I set up the field to be referenced in the if statement?
Say I have this postcode field:
<xsl:value-of select="Post Code"/>
How would I tie that in with the if statement? Do I have to put another tag around it like so:
<postcode>
<xsl:value-of...
Hi can anyone help with this problem? I have xml file which occasionally has data missing from it like this Post Code example:
<Street>20 Any Street</Street>
<City>London</City>
<Post Code></Post Code>
This data is then formatted using an XSL file. What I'd like to know is if there's any way I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.