xsl-list
[Top] [All Lists]

Re: [xsl] Filemaker XSL woes

2006-07-27 06:07:57

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>