phatphish Posted October 14, 2003 Posted October 14, 2003 Hi, I'm trying to parse a XML file to get the "RECORDID" so I can edit the db record using the CGI -edit parameter. The RECORDID is an attribute of the node <ROW>. Can someone show me how to parse the file to get that attribute? Here's the XML code- <?xml version="1.0" encoding="UTF-8" ?> <FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult"> <ERRORCODE>0</ERRORCODE> <DATABASE>TestWebEvents.fp5</DATABASE> <LAYOUT /> + <ROW MODID="6" RECORDID="44524"> ...(code) </ROW> </FMPDSORESULT> Thanks!
cjaeger Posted October 15, 2003 Posted October 15, 2003 <xsl:value-of select="//fmp:ROW/@RECORDID" />
Recommended Posts
This topic is 7708 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now