• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generate Entity java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Currently, I created XML file and I need to add the entity tag.
Apparently, it's impossible with the JDOM API.
Do you know an other method to add the entity manually ?

here, a example of file I need to generate.

Citation:
<!DOCTYPE SET PUBLIC "link file//EN" "set.dtd" [
<!ENTITY file_id_1 SYSTEM "path/file_name_1" NDATA image_jpeg>
<!ENTITY file_id_2 SYSTEM "path/file_name_2" NDATA image_jpeg>
]>

Thank you
 
Ranch Hand
Posts: 734
7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is not provisioned in "strictly" xml's api. Have to add an heterogeneous block to write it out specifically. This is a monolithic block for the demonstration.

Each functioanlity is delineated, so you can set them out each in some method of its own.
reply
    Bookmark Topic Watch Topic
  • New Topic