[XML]Trying to read XMLnodes from my ANT script...please help !
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Robin_Perrot
Posted On:   Tuesday, August 12, 2008 06:16 AM

Hello everyone ! I’m trying to read XML through ANT…. I’ve got an Xml file which looks like this : So I load it in my ANT script with the task “xmlproperty” defined in ANT API (http://ant.apache.org/manual/CoreTasks/xmlproperty.html) like that : When I want to access to the first tag “resourceDescription” it works : <- I’ve got “ABC/123/” displayed that is OK… But I cannot access to the other tags If anybody knows what is wrong with my code ?? Thanks in advance Robin    More>>

Hello everyone !


I’m trying to read XML through ANT….


I’ve got an Xml file which looks like this :





















So I load it in my ANT script with the task “xmlproperty” defined in ANT API (http://ant.apache.org/manual/CoreTasks/xmlproperty.html) like that :







When I want to access to the first tag “resourceDescription” it works :


<- I’ve got “ABC/123/” displayed that is OK…


But I cannot access to the other tags


If anybody knows what is wrong with my code ??


Thanks in advance


Robin

   <<Less
About | Sitemap | Contact