I want to show the different between attribute value and the corresponding element value. so i just need to make the bold for attribute value in dita to pdf using oxygen. I tried xsl for that but its not working:
My Input dita xml file is:
<data-about> <data type="data.module.code">HSXWB-A-79-11-11-00A01-000A-D</data> <data type="classification">01</data> <data type="responsible.partner.company">F0302</data> <data type="originator">F0302</data> <data type="applicability">ALL</data> <data type="data.module.reference.code">TRENTXWB-A-00-00-00-01A01-022A-D</data> <data type="quality.assurance">tabtop</data> <data type="skill.level">sk01</data> <data type="reason.for.update">First Release</data> <data type="publication.code">UNKNOWN PUBLICATION</data> </data-about> My xsl(2.0) used as:
<xsl:template match="/"> <xsl:apply-templates select="//data-about"/> </xsl:template> <xsl:template match="data-about/*"> <xsl:value-of select="concat(@type, ' : ', current())"/> </xsl:template> Now i'm presently getting output as
data.module.code : HSXWB-A-79-11-11-00A01-000A-D
classification : 01
responsible.partner.company : F0302 .
.
.
I want the pdf output as
data.module.code : HSXWB-A-79-11-11-00A01-000A-D
classification : 01
responsible.partner.company : F0302
.
.
.
Please guide on this. Thanks in advance
No comments:
Post a Comment