Hi I have XML schema with xsd:duration attribute in it.
Is there a convenient tool in xercesc that can help parsing durations? Ie xsd:duration type. I have investigated the XMLDateTime class which has a parseDuration() on it but there is nothing that can be used to retrieve the parsed data. So to get the duration time in seconds it looks to me like I will have to write code to parse things like: 'P1Y2M3DT10H30M' manually? I have tried getString() which is supposed to return the value in decimals but that just returns the 'P1Y2M3DT10H30M' back to me. Any suggestions really appreciated, Martin. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
