How to format the output xml using XSLT?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saritha2008
    New Member
    • Sep 2008
    • 9

    How to format the output xml using XSLT?

    Hi,

    As part of transforming one form of XML to another XML using XSLT, i need to convert the text into Bold in the output xml file. I tried the following way but it did not work.

    <fo:inline font-weight="bold">< xsl:text>Descri ption of the original bug in JIRA:</xsl:text></fo:inline>

    Any suggestions would be appreciated

    Thanks,
    Saritha
  • MarkoKlacar
    Recognized Expert Contributor
    • Aug 2007
    • 296

    #2
    Hi,

    Can you post some XML and some XSLT?

    /MK

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      What type is your output xml of? Or, what program/processor do you use to display the xml?

      regards

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        It definitely depends on what you're using to display the result.
        If you went old school html, you could just add <b> tags instead.

        Or you could try using fo:block instead of fo:inline. Not sure how exactly you want it formatted.

        Comment

        Working...