[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] DocBook Transclusion: Allow "prefix" in trans:idfixup?
I'm curious why Thomas? It says suffix, adds a suffix? Do you want to change the name too? Just trying to understand. regards On 19 May 2016 at 08:03, Thomas Schraitle <tom_schr@web.de> wrote: > Hi, > > the "DocBook Transclusion" paper[1] defines some attributes > (trans:idfixup, trans:suffix, and trans:linkscope) which are used for > ID fixup in an (x)included XML document. > > The trans:idfixup can only have one of the values "none", "suffix", or > "auto" (see B.5 "Manually assigned suffix"[2] for a more exhaustive > example). > > That's all nice and dandy. ;) However, the keyword of "suffix" place the > value of trans:suffix *after*. For example: > > <xi:include href="x.xml" > trans:idfixup="suffix" > trans:suffix="_bar_"/> > > With the above trans attributes, a former ID "foo" is rewritten as > "foo_bar_". However, I would like to get the opposite ("_bar_foo"). > > I guess there is no solution with the current spec, right? > > Can we extend the spec to allow the value "prefix" in trans:suffix? > > > ------- > [1] http://docbook.org/docs/transclusion/ > [2] http://docbook.org/docs/transclusion/#ex.9 > > -- > Gruß/Regards, > Thomas Schraitle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]