I'm new to using this so trying to figure out how to display my information
well.
Here's the xml file
-----------------------------
<?xml version="1.0" ?>
- <Member ID="001">
- <MemberInfo>
<MemberId>001</MemberId>
<Status>A</Status>
<NameFirst>ALLEN</NameFirst>
<NameSecond>NORRIS</NameSecond>
- <Address>
<AddressLine>Home</AddressLine>
<AddressLine>1621 FINCASTLE ROAD</AddressLine>
<AddressLine>LEXINGTON, KY</AddressLine>
<AddressLine>40502</AddressLine>
</Address>
</MemberInfo>
</Member>
-------------------------------
<!--- cfm code --->
<CF_XMLQuery Datasource="MyDatasource" Name="personalInformation"
TYPE="XPath">
//[EMAIL PROTECTED]
</CF_XMLQuery>
<CFOUTPUT Query="personalInformation">
-#Member_MemberInfo_NameFirst#-<br />
</CFOUTPUT>
<!--- end code --->
I'm trying to figure out how to display the First name and such. I can
display everything in it so the query works but it just prints out a long
line.
However the Member_MemberInfo_NameFirst doesn't work. I get the standard
"Error resolving parameter MEMBER_MEMBERINFO_NAMEFIRST".
Can someone give me an idea on what I'm doing wrong.
Thanks,
Allen Norris
-----------------------+
cf-xml mailing list
http://torchbox.com/xml/list.cfm