template which handles identical XML-structures but ca
I have an XML file which contains lots of blocks which are quite the same, but where the parent (ordinaryManureStructure, ProcessedManureStrucutre) differs.
The end result should be a table with columns, but where the first column contains label texts which are unique for each XML block, but where the next columns is just the values (initialStorageQuantity etc.)
I thought of creating a general template which creates the table, and the create variables for the labelt texts and then pass the unique texts in as arguments, but I'm afraid that is not possible. or is it?
What is the best pattern for solving this problem? on beforehand thank you!
<OrdinaryManureStructure> <InitialStorageQuantity>12345.6789</InitialStorageQuantity> <StorageStatusQuantity> 12345.6789</StorageStatusQuantity> <EndStorageQuantity>0.0</ EndStorageQuantity> </OrdinaryManureStructure
<ProcessedManureStructure> <InitialStorageQuantity> 12345.6789</InitialStorageQuantity> <StorageStatusQuantity>12345.6789</StorageStatusQuantity> <EndStorageQuantity>0.0</ EndStorageQuantity> </ProcessedManureStructure>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format