Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

XML Parser

$
0
0

Hi,

 

i use CF to parse an XML FILE, i'm stucking now with this part:

 

 

<HR.PUB.CONTENT>

<FTTYPE="F">Example GmbH</FT>

 

, now in Zurich,

<FTTYPE="A">CHE-100.000.000</FT>

, City new:

<FTTYPE="S">Erlenbach ZH</FT>

. Address new: Haldenstrasse, 8700 Erlenbach ZH.

</HR.PUB.CONTENT>


I just want one string like that:

Example GmbH, now in Zurich, CHE-100.000.000, city news: Erlenbach ZH. Address new: Haldenstrasse, 8700 Erlenbach ZH.


i tried this one, but it wasn't useful:

Text= xmlsearch(MyData, "//HR01/HR01.SPEC/HR.PUB.CONTENT")[idxAttr1].XmlText



Can anyone help me? I use <cfscript>




Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>