Hi all,
Sorry if this is a stupid question, but I was wondering that instead of having my xsl declaration with my namespace in it:
Code:
<xsl:stylesheet version="2.0" xmlns:cc="urn:callcredit.plc.uk/api5" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions">
...and then referencing it like this
Code:
<xsl:value-of select="/cc:Application/cc:Applicant/cc:Name/cc:Forename" />
is it possible to somehow do away with the need to put cc infront of every xpath query? (There is only one namespace in the entire document).
Many thanks,
Simon
