Does xerces provide a *pluggable* mechanism to tell the parser the replacement text to use when it encounters an entity reference?
The specific use case is attempting to control values used in docbook sources. So say you have: <book> <bookinfo> ... <releaseinfo>&version;</releaseinfo> <pubdate>&today;</pubdate> </bookinfo> </book> I would like to "inject" the replacement values for the '&version;' and '&today;' entity references. Currently I do this by injecting doctype "internal subset" <!ENTITY ...> defs in the stream used by the parser. What I'd much rather be able to do is to register something akin to an EntityResolver that resolves the replacement text. -- Steve Ebersole <st...@hibernate.org> Hibernate.org --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org