i want to change the HTML tags from the xml file in to fo tags xml file using a XSl file.
i referred the http://www.stylusstudio.com/xsllist/200504/post81170.html
but my all the HTML 'b' and 'color' tags are getting replaced by the both bold and color fo tags, i want 'b' replaced by font-weight="bold" and font-color replaced by color="#FF0000" and if bothe tags are there 'b' and font-color in HTML then fo should replaced by both bold and color, but xslt anyways replaced the html tags by the resultant both fo tags in xml.
please help me to use either or condition in the xsl, means bold or color or both.
please check the attachment for the reference
thanks in advance. this would be a grate help for me.
file-1.xml source xml file
html-fop(1).xsl xsl file to convert HTML to fo
file-3(2).xml result xml with fo tags
|