Menu

Problems with whitespace behind a tag

Help
owimboweh
2010-02-16
2013-05-02
  • owimboweh

    owimboweh - 2010-02-16

    hi,

    I want to display this text : "111222 333" with the part "111" in bold
    But I want the XML file to be in Pretty Format, like this :

    <p>
        <b>111</b>
        222 333
    </p>
    

    But in Pretty Format it's always displayed like this : "111 222 333".
    I know that this code would be a solution :

    <p>
        <b>111</b>222 333
    </p>
    

    But the code is generated automatically  by a program.

    Thanks for the help.

     
  • owimboweh

    owimboweh - 2010-02-16

    I mean that I'm using JDOM and the Pretty Format to generate the XML file, so I can't put "<b>111</b>" and "222 333" on the same line… unless there is a way to change format with some tags…

    Or maybe there is a way to tell UJAC to ignore the new line between "<b>111</b>" and "222 333"

     

Log in to post a comment.

MongoDB Logo MongoDB