cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhi <sudheen...@insage.com>
Subject Re: Graphics output using XML - Visio style
Date Thu, 14 Sep 2000 21:10:48 GMT
Hi,
Thanks for the info.
But what I really want is to represent my XML in graphical way...
something like a site architecture (RDF).
I dont know whether cocoon is the only option for it. I want look into
some other technology ( i really love cocoon) which does the same thing.

TIA
Sudhi

Nicola Ken Barozzi wrote:
> 
> ----- Original Message -----
> From: "sudhi" <sudheendra@insage.com>
> To: <cocoon-users@xml.apache.org>
> Sent: Wednesday, September 13, 2000 9:30 PM
> Subject: Re: Graphics output using XML - Visio style
> 
> > Hi..
> >
> >
> > Nicola Ken Barozzi wrote:
> > >
> >
> > [SNIP]
> >
> > > An orgchart is quite different, but there's an easy way of doing it.
> > > Just write a normal Java class, like extending a canvas, with normal get and
set methods,
> > > and test it in an Applet.
> >
> >
> > Can you please elaborate a more on this ?
> >
> Hmmm... ok. :-)
> Imagine you want make a JavaBean that can display org-charts.
> You probably create a class that extends Canvas and do the drawing
> in the paint() method.
> Then you add getter and setter methods (getChart(), setChart(), getTitle(), setTitle()...)
> to tell the bean what and how to draw.
> If this isn't clear enough look at the Javasoft website for tutorials.
> [don't feel offended if you know all this, but I don't know you preparation :-)]
> Then you want to test it, you create a new instance in an Applet and add(MyChart)
> to the Applet, like in any other Java graphical component, and see the results.
> Then comes the easy part ;-)
> You write the Xml that describes the data the chart has to output in
> graphical form, send it to me, and I will make a Transformer 4 you. :-)
> [the transformer just calls the paint method of your component after
> having set all the parameters and uses a special Graphics class that outputs
> to SVG].
> 
> Ciao,
> nicola_ken
> 
> Nicola Ken Barozzi - AISA Industries S.p.A
> http://www.aisaindustries.it/
> Via Leonardo da Vinci,2 Ticengo (CR) Italy
> Research Activity:
> Politecnico di Milano - Dipartimento di Meccanica
> Piazza Leonardo da Vinci, n.32 - 20133 Milano (Italy)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message