Hi Jon,
That was great - thanks.
My problem was that in my XSL template, I was only using the namespace prefix once in the path e.g
someprefix:test/anode
once I prefixed each node in the path with the prefix e.g.
someprefix:test/someprefix:anode
it worked like a charm!!
Thanks
Jim
Hi Josh,
Cheers for the advise, I have already be there and gone through then XML & XSL tutorials, as well as those at www.htmlgoodies.com - great site BTW.
None of the tutorials was of much help - the XML one showed how to create namespaces, the XSL showed how o navigate an XML document - but...
Hi Divinyl,
I'm pretty new to XML, but I have a similar XSL, set up as you have, I think you may have your double/single quotes a little messed up, you wrote:
<xsl:if test="'TM_PROJECT.TITLE'!=''"> No value </xsl:if>
Try this:
<xsl:if test="TM_PROJECT.TITLE !=''"> No value </xsl:if>
HTH...
Hi,
I'm have an XML document that models an invoice from our company.
I also have developed a XSL file to transform the XML and display it nicely formatted in a web browser.
The above works well and I'm very happy with it.
I now want to include our company's URL as a namespace, I declare it as...
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.