Adding Additional Info in Footer
Posted: Thu Jun 20, 2019 4:25 pm
Hi,
We have different documentation number for each sub-topic/sub-chapter and it should be mentioned in the footer(bottom -center). How can we achieve this.
The document number is as follow:
3EHW 411401
3EHW 411402
3EHW 411403
3EHW 411404
Here's my code
@bottom-center {
content: oxy_label(text, "ldent No.") "\A"
oxy_xpath("let $cm:= format-numbering() \
return concat( \
if ($cm= 'Loco Body') then '3EHW 411401' else \
if ($cm= 'Structure') then '3EHW 411402' else \
if ($cm= 'Exterior Finish') then '3EHW 411403' else \
if ($cm= 'Doors and Steps') then '3EHW 411404' else \
if ($cm= 'Draftgear and Couplers') then '3EHW 411405' else \
if ($cm= 'Windows') then '3EHW 411406' else \
if ($cm= 'Horns and Lights') then '3EHW 411407' else \
if ($cm= 'Wipers and Washers') then '3EHW 411408' else \
if ($cm= 'Buffers') then '3EHW 411409' else \
if ($cm= 'Cable Duct') then '3EHW 411470.' else '' \
, \
' ', \
format-numbering() \
) ");
We have different documentation number for each sub-topic/sub-chapter and it should be mentioned in the footer(bottom -center). How can we achieve this.
The document number is as follow:
3EHW 411401
3EHW 411402
3EHW 411403
3EHW 411404
Here's my code
@bottom-center {
content: oxy_label(text, "ldent No.") "\A"
oxy_xpath("let $cm:= format-numbering() \
return concat( \
if ($cm= 'Loco Body') then '3EHW 411401' else \
if ($cm= 'Structure') then '3EHW 411402' else \
if ($cm= 'Exterior Finish') then '3EHW 411403' else \
if ($cm= 'Doors and Steps') then '3EHW 411404' else \
if ($cm= 'Draftgear and Couplers') then '3EHW 411405' else \
if ($cm= 'Windows') then '3EHW 411406' else \
if ($cm= 'Horns and Lights') then '3EHW 411407' else \
if ($cm= 'Wipers and Washers') then '3EHW 411408' else \
if ($cm= 'Buffers') then '3EHW 411409' else \
if ($cm= 'Cable Duct') then '3EHW 411470.' else '' \
, \
' ', \
format-numbering() \
) ");