You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by pps <i-...@yandex.ru> on 2005/09/21 20:52:05 UTC
xerces c++ domprint questions
Hello,
I'm writing an aplication that takes xhtml-extended file and transformes
it into other file/format. I started from modifying domprint example.
Questions I have - how can I control dtd declaration of the output
document E.g. after my document is transformed it should have some other
dtd declaration. Basicly I could do search/replace of resulting output,
but I'm sure the are better ways to do that.
How can I control entyty expansion in the output. '>' are usually
converted to > even if it's not mandatory, I want to control some
other aspects also, for example, I don't want to be replaced with
space etc...
How do I access dtd structure (for example, to get content model of some
element of the dom three, or the list of allowable attributes for a
given element), or get entyty replacement text, or the other way around:
'>' <=> '>' and '"' <=> '"'
thanks