Re: [Xsltforms-support] Duplicate Id using multiple text area's with
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2016-04-26 17:56:55
|
Yes, a minimal test case is required. Ids are automatically generated by XSLTForms when missing. Are you generating your forms at server side ? --Alain Le 26/04/2016 à 19:49, Winona Salesky a écrit : > 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 |