<cfset nxml_content = xml>
<cfset nxml = XmlParse(nxml_content)>
<cfif IsDefined("nxml.ma.image")>
<cfset n_image64 = Trim(nxml.ma.image.xmltext)>
<cfset nxml_length = ArrayLen(nxml.ma.itemn)>
</cfif>
===================XML內容=======================
<?xml version="1.0" encoding="big5"?>
<MA>
<IMAGE>aaabbbcccddd</IMAGE>
<ITEMN URL="http://www.yahoo.com.tw" CONTENT="yahoo首頁" />
<ITEMN URL="http://www.google.com.tw" CONTENT="辜狗首頁" />
</MA>
沒有留言:
張貼留言