XSL problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm very new to XML and XSL and feel very helpless about a problem I am having. I've tried several message boards with no luck. The problem I am having is this...
===================
Problem: can't retrieve the "1" from the ERRORCODE tag.


I've narrowed down the source to the xmlns attribute inside the FMPXMLRESULT tag. Still can't figure out how to code it to grab the "1" though. Any ideas? I've tried:

/ERRORCODE
FMPXMLRESULT/ERRORCODE
/FMPXMLRESULT/ERRORCODE
FMPXMLRESULT/@xmlns/ERRORCODE

and nothing works.


=======(XSL)==========

<xsl:template match="/">
<OrganizationName><xsl:value-of select="ERRORCODE"/></OrganizationName>


=======(Source XML)==========

<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult";>
<ERRORCODE>1</ERRORCODE>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux