Replacing table row in XML file with EVL [message #692922] |
Tue, 05 July 2011 09:31  |
Eclipse User |
|
|
|
I have two XML files. The first XML file describes a table with loads of text, while the second XML file functions as a template file in which one table row is described with the same structure (but without text). I can execute a lot of functions on these XML files with the operations I described in EOL files. However, in my next step I want to use EVL for replacing a table row in the first XML file by a table row from the XML template file. The first steps in the EVL file are already working, but I'm struggling with the 'do'-part. Anyone who can help me by mentioning what type of methods I could use for replacing a table row by a table row from another XML file?
Kind regards, Tom
context Table!`t_w:tr` {
constraint hasXOR {
guard : self.getEPMLXor().includes(self.getCellTitle())
check: self.getTableXor().includes(self.getCellTitle())
message : self.getCellTitle() + ' is missing in the Table document'
fix {
title: "Insert improved table row"
do{
}
}
}
}
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03788 seconds