Subject:XSLT a:? Author:Brandon dimperio Date:09 Mar 2008 08:01 PM Originally Posted: 09 Mar 2008 07:58 PM
so far for whatever reason I HAVE to use a: to access any elements of my document, I'm taking an XML class and we had 2 hours of information on XPath and 2 hours on XSLT and until I got ahold of stylus I couldn't manage to access anything other than copy of /
I haven't been able to find what this means anywhere on the internet, my assumption is it means ancestor?
I'm writing my code in the <xsl:template match="/"> section. should it be somewhere else so I don't have to use a:?
Subject:XSLT a:? Author:James Durning Date:10 Mar 2008 11:16 AM Originally Posted: 10 Mar 2008 11:15 AM
This is a namespace prefix. If your xml document has xmlns="somewebsite.com", you have to specfically use that url in your xsl as well. eg. xmlns:a="somewebsite.com" then find a:someelement.