[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Filemaker XSL woes


Subject: Re: [xsl] Filemaker XSL woes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 27 Jul 2006 14:07:37 +0100

> Is that  defining the namespace? 
yes.

All the elements in the code you posted are in the namespace
http://www.filemaker.com/fmpxmlresult

so an xpath like /FMPXMLRESULT/ERRORCODE will not match them as that
matches eleemnts in no namespace you need to add

xmlns:f="http://www.filemaker.com/fmpxmlresult"
to your xsl:stylesheet so that f: (or any other prefix you choose) is
bound to that namespace then use
/f:FMPXMLRESULT/f:ERRORCODE

David


Current Thread
Keywords