-----Ursprüngliche Nachricht----- Von: Hussein Shafie [mailto:huss...@xmlmind.com] Gesendet: Sonntag, 12. Mai 2013 19:33 An: Stefan Klatt Cc: 'xmleditor-support@xmlmind.com' Betreff: Re: [XXE] How to access generated content via xinclude
On 05/12/2013 05:28 PM, Stefan Klatt wrote: > > in our XML Dialect we number Literature lists with statements like > > LiteratureList > Literatur:before { > content:xpath("concat(format-number(count(preceding-sibling::ns:LiteratureLi st)+1,'000'),' > ')");} I understand this. >> First we have a Section, numbererd by xpath in Literature:before >> <LiteraturList> >> 001 <Literatur Id="abc><Titel/><Autor/>...</Literatur> >> 002 <Literatur Id="xyz><Titel/><Autor/>...</Literatur> >> Inside our references we use <LiteratureRef> <xinclude href="" xpointer="abc"/> </LiteratureRef> >> and get Literatur, Titel, Author... but we see no way to show the associated Number (without complex xpath statements) >> Even if we use an additional <Nr> Element inside of <Literature> and generate the Nr (by xpath) inside this element (not in the >> :before), the Number issn`t available in the Reference. >> The mean quesstion is: how to access genererted content in such a constellation (via xinclude) >> Same Problem exist (naturally) when accessing the numbered headings (hierarchie) of >> the document outline, For Example. .... as mentioned in 1.2.4 Anything... [SK] Thanks a lot -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support