commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [betwixt] XML to java question
Date Fri, 27 Aug 2004 09:44:59 GMT
Hi all,
I want to passe from the following XML

 	<?xml version="1.0" encoding="ISO-8859-1"?>
 	<!DOCTYPE form [ <!ELEMENT field (field*) >
	<!ATTLIST field code ID #REQUIRED>]>
 		<field code="txtNumClient">num1</field>
 		<field code="chkSuiviICP">boolTrue</field>

To the following java bean

	public class Form {
		private String txtNumClient;
		private boolean chkSuiviICP;
		// ...

How to use my ID attributes "code" from the XML to map my bean attributes in
Thank you for any suggestions.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message