Skip to content

Instantly share code, notes, and snippets.

View pauljcripps's full-sized avatar

Paul Cripps pauljcripps

View GitHub Profile
@pauljcripps
pauljcripps / overview
Last active August 29, 2015 14:20
xslt for incoming gstar data
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)