[Xsltforms-support] Duplicate Id using multiple text area's with
Brought to you by:
alain-couthures
From: Winona S. <wsa...@gm...> - 2016-04-26 17:49:53
|
I am using the new wrap function (a great addition!) and am trying to simplify my forms as much as possible. This has led me to use a lot of xincludes for nested data structures. Example: tei:quote is a valid sub-element of tei:note and tei:desc. I want to use the wrap function on the tei:quote, and would like, if possible to only have one 'template' for the all the fields need for the tei:quote element, that is used by both tei:note and tei:desc. Currently I get a duplicate id error if I use both a tei:note and a tei:desc. Is there a way to generate ids based on parent element? Or do I just need to maintain two different templates with unique ids? Thanks for the help. And let me know if a code example would be useful. -Winona |