Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Altering the Entities  RSS feed

 
ZEESHAN AZIZ
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to make alterations to the entities declared which is the best way? Modify the DTD or modify the entities in the XML instance document?
 
Svetlana Petrova
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can redefine a parameter entity. Say, if your document has both external DTD and internal DTD, than in internal DTD you can specify new replacement text for an entity. Did this answer your question?
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Svetlana,
You can redefine attributes and entities. Please look at -
http://www.coderanch.com/t/146681/po/certification/Internal-DTD-External-DTD
Cheers,
Dan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!