Nov 24th, 2009, 04:41 AM
problem in reading attribute value from xml.
am using Jaxb2Marshaller to unmarshall xml data.i cant able to read attribute value.
i have annotated the field like this ....
@XmlAttribute(required = true)
private String Entity = null;
can u say me how to get attribute value.
Nov 24th, 2009, 09:20 PM
We need a little more information about the files you're reading, etc in order to help. Although, considering that Spring OXM has been moved into core with Spring 3.0, you might want to try the question in that forum.
Nov 24th, 2009, 11:17 PM
my xml record seems to be like this...
<?xml version="1.0" encoding="Shift_JIS"?>
<ExposureData xsi:noNamespaceSchemaLocation="Exposure_Data.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
i want to read the Entity value..
any idea ??