The XML files are just an XStream serialization of the domain classes.
Change the domain classes (or use another XML serialiazer instead of
XStream) and your xml schema changes.
XStream is like JAXB, a class like this:
public Person {
private String name;
...
}
get serialized to file like this:
<Person>
<name>John Smith</name>
</Person>
More info at
xstream.codehaus.org
Note that you can also replace XStream by JPA or JDBC to store your data
in a database.
Op 20-12-11 14:27, cmcl79 schreef:
Hi,
I'm a beginner to Drools planner. I think it has everything I need to solve
my staff and user scheduling problems.
At the moment I have worked out how to edit the xml files in the nurse
rostering problem to begin to shape my problem. However the xml is very
intrecate and I don't think I will be able to morph this example to exactly
match my problem. Is there any way I can generate my own xml files to encode
my exact problem?
I'm a complete beginner to Drools and to programming.
Many thanks,
C
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Planner-Beginner-tp3601171p36011...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
With kind regards,
Geoffrey De Smet