Removing the dtd name when using print(...) on the dtd generated class

Discussion in 'Java' started by Joseph Tilian, Dec 21, 2004.

  1. I have created some classes from a dtd using the classgen-package. One of
    these classes is MyClass. When I use print(System.out) on the MyClass I get:

    <!DOCTYPE MyClass SYSTEM
    "jar:file:/D:/MyProject/lib/MyJar.jar!/MyProject/MyDTDs/MyClass_dtd.txt">

    as the first line. I would like to have all of the mumbo jumbo including
    SYSTEM not to show up, i e I don't wont the name of the dtd to show up at
    all. Is there a way to accomplish this?

    I'm using the Oracle9 classgen.jar

    When I used the Oracle8 classgen.jar the SYSTEM and all the crap after
    didn't show up.
     
    Joseph Tilian, Dec 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-1?B?bW9vcJk=?=
    Replies:
    7
    Views:
    890
    Roedy Green
    Jan 2, 2006
  2. Nathan Sokalski
    Replies:
    6
    Views:
    4,135
    Nathan Sokalski
    Aug 29, 2006
  3. Replies:
    2
    Views:
    354
    Jason Kester
    Sep 20, 2006
  4. keto
    Replies:
    0
    Views:
    1,043
  5. David Cournapeau

    print a vs print '%s' % a vs print '%f' a

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    399
    David Cournapeau
    Dec 30, 2008
Loading...

Share This Page