Menu

How to make output as normal HTML output?....

Help
2005-02-06
2013-04-27
  • mikeliu1976

    mikeliu1976 - 2005-02-06

    regards:

    How to make output as normal HTML output?....
    but not the following format....=.=
    I use  System.out.print(tag.toString());
            or
           System.out.print(tag.toHtml());
           but output is the same.

    omited------------------------------------------------------------------
    Tag (0[0,0],6[0,6]): html
      Tag (6[0,6],12[0,12]): head
        Txt (12[0,12],13[1,0]): \n
        Tag (13[1,0],79[1,66]): meta http-equiv="Content-Type" content="text/html; ch...
        Txt (79[1,66],80[2,0]): \n
        Tag (80[2,0],125[2,45]): meta http-equiv="Pragma" content="no-cache"
        Txt (125[2,45],126[3,0]): \n
        Tag (126[3,0],133[3,7]): title
    omited------------------------------------------------------------------

    thank you 
    May goodness be with you all    

     
    • Derrick Oswald

      Derrick Oswald - 2005-02-06

      tag.toHtml() will output the tag as HTML.
      I can't see why it wouldn't work for you.

       
    • mikeliu1976

      mikeliu1976 - 2005-02-07

      regards:
      Dear Derrick Oswald,

      thank you for your patient reply and instructions.^^
      I will check again.

      thank you
      May goodness be with you all

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.