Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > xml converter

Reply
Thread Tools

xml converter

 
 
Willian Irving Zumwalt
Guest
Posts: n/a
 
      08-22-2003
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?

Thanks in advance for any help.
 
Reply With Quote
 
 
 
 
Jon A. Cruz
Guest
Posts: n/a
 
      08-23-2003
Willian Irving Zumwalt wrote:
> I want to make a customized converter to translate the semantics of
> XML. If I use an interface called IConverter as my abstract concept,


First of all, I'd suggest to avoid the broken Hungarian and just call it
"Converter" instead.


> what would you guys consider as the minimum set of methods I'd need in
> doing it this way?


Depends on the set of functionality you need.

And are you talking about operating on XML files/streams, or on
something else like DOM trees?

 
Reply With Quote
 
 
 
 
Willian Irving Zumwalt
Guest
Posts: n/a
 
      08-24-2003
> > what would you guys consider as the minimum set of methods I'd need in
> > doing it this way?

>
> Depends on the set of functionality you need.


Lets just start w/ minimum funcionality I guess for now as I'm new to
XML.

> And are you talking about operating on XML files/streams, or on
> something else like DOM trees?


Just XML files.

Also, do you know of any resources that talk about 'customizable
converters'? Cause I'd like to know more about xml frameworks and get
some good design ideas for extensibility and scalability.

Thanks
 
Reply With Quote
 
Jorn W Janneck
Guest
Posts: n/a
 
      08-24-2003

"Willian Irving Zumwalt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moyea Video Converter with iPad video converter brntkobe1 Computer Support 0 04-18-2010 08:22 AM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
Opensource Java RTF to HTML (or xml) converter Aidan Diffey Java 1 12-21-2005 03:05 PM
text - > XML Converter martin.kiuru@gmail.com Java 3 08-01-2005 03:43 PM
ANN: Syntext Dtd2Xs v1.3 - Complex&Modularized XML DTD to XML Schema Converter Syntext, Inc XML 0 08-21-2003 10:50 AM



Advertisments