cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James & Sue Ann Birchfield" <>
Subject RE: VRMLFormatter
Date Wed, 29 Dec 1999 00:11:11 GMT
Well, just to see, I will post the code tomorrow.

I simply created a VRMLPrinter class that
cycles though the document and picks the text
node values out.  I haven't tested it too much,
but it works fine with the samples I was making today.
Probably breaks the architecture, but if you want to
do VRML through Cocoon now, then it will get you there.

I am doing exactly as you mentioned.  I have a top
level node of <vrml> and all else wrapped
in <xsl:text> tags.  If you follow that construct in the
xsl file, then all is well.  A little restrictive, but
pretty cool to hit the same page and see a table
or a 3d chart.

James Birchfield
Chief Technology Officer

> -----Original Message-----
> From: Stefano Mazzocchi []
> Sent: Tuesday, December 28, 1999 6:16 PM
> To:
> Subject: Re: VRMLFormatter
> James & Sue Ann Birchfield wrote:
> > 
> > Is anyone working on a VRMLFormatter?
> > I was working today and threw one together.
> > If no one is working on one, I can give post
> > the code and people can make use of/enhance it
> > as needed.  If someone is, who?  I am need of
> > one now, and didn't find it.  And I noticed
> > that one was removed from the CVS repository.
> > 
> > I am using the 1.5 release, so if one is in the 1.6
> > release, this may be a mute point.
> There is a problem in creating a VRML formatter in current Cocoon
> architecture since you can't use the DOM to pass pure text from the XSLT
> to the formatter.
> A way is to do something like
> <vrml>
>  ...
> </vrml>
> and then have the formatter stip it out. but it's very dirty.
> The VRML formatter was removed (as should the text formatter) since it
> doesn't work and you need architectural changes to make it work. But
> we'll get there, I promise :)
> -- 
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <>                             Friedrich Nietzsche
> --------------------------------------------------------------------
>  Come to the first official Apache Software Foundation Conference!  
> ------------------------- http://ApacheCon.Com ---------------------

View raw message