Hmm... Why do you not try something like (simplified):
int x_fromXml = getAsInt(xmlElement_x);
int y_fromXml = getAsInt(xmlElement_y);
int width_fromXml = getAsInt(xmlElement_width);
int heigth_fromXml = getAsInt(xmlElement_hight);
Arc arc1_fromXml = getAsArc(xmlElement_arc1);
Arc arc2_fromXml = getAsArc(xmlElement_arc2);
PNode node1 = PPath.createRoundRectangle(x_fromXml , y_fromXml , width_fromXml , heigth_fromXml , arc1_fromXml , arc2_fromXml );
With getAsInt() and getAsArc() parses the provided XML-Element and returns the appropriate data type?
If that is not the Solution, then please state your problem again, since you said that you could parse and print the stuff from the XML, but not put it into your provided line of code.
If you don't know how to parse a String (returned from the XML) into int etc, then here it comes:
Integer myInt = Integer.parse(stringFromXml);
Similar for Dounble, Float or Long. Additionally you might want to catch a NumberFormatException in case the Parsing failed.
Cheers, Arndt