I have xml file in which having some css properties and I want to apply on table
XML file is as follows :-
<code>
<reportConfiguration>
<details_background_color>white</details_background_color>
<page_header_horizontal_align>center</page_header_horizontal_align>
<page_header_font_size>12pt</page_header_font_size>
</reportConfiguration>
</code>
I want use details_background_color , details_bold to apply value in table , code as follows but not working
<code>
<fo:block>
<xsl:for-each select="element_1">
<fo:block font-size="document('xmlFile_reportConfig.xml')/reportConfiguration/page_header_font_size" font-weight="document('xmlFile_reportConfig.xml')/reportConfiguration/details_bold" text-align="document('xmlFile_reportConfig.xml')/reportConfiguration/page_header_horizontal_align" vertical-align="middle">
select="document('file:///D:/DATA/Marquee/dial_stats_UK.xml')/UK_Products_Pipeline/LastFinishCode"
<xsl:value-of select="."/>
</fo:block>
</xsl:for-each>
</fo:block>
</code>