This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aim is to add UID using the generate-id function to the parent element (Object) and also to descendants so when imported into a database there are primary/foreign keys to knit it all back together again. | |
xslt currently properly assigns UID to Object and children but then assigns a new (but the same) UID to further descendants within each Child block; ie all children of child 1 get UID X, all children of child 2 get UID Y, etc. | |
So nearly there but not quite... | |
Files: | |
Schema (xsd) | |
Transform (xslt) |