If you mean function, then maybe common/functions.xsl is your man? Why we have both I dunno but I am sure there's a jolly good reason. May be. Sent from my Honor Mobile -------- Original Message -------- Subject: [tei-council] some 1 splain it 2 me From: Syd Bauman To: TEI Council CC: I am working on Stylesheet issue 135, which (IMHO) is a very serious bug. Yesterday I spun my wheels for perhaps 1/2 an hour to an hour being flummoxed. I then realized we have two almost identical (but a little different) templates that match tei:dataRef. One is in odds/teiodds.xsl, the other in odds/odd2relax.xsl. I don't understand the logic yet (I haven't tried), but it is empirically obvious that the former is run when building P5, the latter when making a customization with `roma`. Can someone explain to me 1) Why we have both 2) Where I should put a subroutine that I want both to be able to call The @minOccurs and @maxOccurs are handled differently by a variety of different routines, which makes this tough. But I am making progress. -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council PLEASE NOTE: postings to this list are publicly archived