my dog learned polymorphism
The moose likes XML and Related Technologies and the fly likes Generate Entity java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Generate Entity java" Watch "Generate Entity java" New topic

Generate Entity java

thibaut John

Joined: Feb 18, 2011
Posts: 1

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.

<!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
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 630
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.
I agree. Here's the link:
subject: Generate Entity java
It's not a secret anymore!