Results 1 to 2 of 2
  1. #1
    tapas is offline Member
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    0

    Question About Comment By Using SAX

    I want to generate a xml file using SAX with comment.I facing problem with comment.So can u give any sugession how to add comment SAX.

    I need the below ouput.

    <emps>

    <emp name="tapas">
    <id>123</id>
    </emp>
    <!--This is the second employee-->
    <emp name="raja">
    <id>456</id>
    </emp>

    </emps>

    Thanks & Regards
    Tapas

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    tapas, welcome to the Java Forums.

    I must ask you to read the forum FAQ before you post again. Double/Multiple posting is against forum policy. Your other thread has been deleted.

    I hope you find an answer to your question soon. See you around.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •