"Willian Irving Zumwalt" <> wrote in message
news: om...
> I want to make a customized converter to translate the semantics of
> XML. If I use an interface called IConverter as my abstract concept,
> what would you guys consider as the minimum set of methods I'd need in
> doing it this way?
Hi Will.
I am not quite sure I understand your question. What exactly do you mean by
"semantics of XML"? XML is essentially a textual format for a tree data
structure, so if you talk about generic XML there is not really much
semantics to it, other than that data structure.
Also, what do you intend to convert the XML into? Other XML? Text? HTML?
Java data structures? Arbitrary (i.e. unknown yet) binary stuff? Database
queries? ...?
You probably know this, but there exists rather elaborate infrastructure for
transforming XML, in the form of XSLT. If by any chance you do not know
that, I recommend taking a look at it. If that does not work for you,
perhaps you could describe what other functionality you need.
Cheers,
-- j
|