aspose file tools*
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
Author

Generate Entity java

thibaut John
Greenhorn

Joined: Feb 18, 2011
Posts: 1
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
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 547
    
    3
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Generate Entity java