why i can't get the value from XML

Post Reply
nicktazo
Newbie
Posts: 13
Joined: Sat Apr 13, 2013 5:31 pm

why i can't get the value from XML

Post by nicktazo » Sat Apr 13, 2013 5:54 pm

Dears



here is my xml sample



8

4





i am trying to use the below scripts expression to get data



var jobDataset = job.getDataset( "Xml" );

var ups =jobDataset.getPath("/data/upsnumber");

var copies=jobDataset.getPath("/data/copynumber");



but always show me error message



No matching slot found, available overloads are: QString DatasetXML::getPath()



Real appreciate anyone can help me to solve this problem.



Thanks



Nick







Post Reply