[Bf-committers] BlendXML, status?

Jonathan Merritt j.merritt at pgrad.unimelb.edu.au
Tue Jun 7 08:22:36 CEST 2005


Raphael Langerhorst wrote:

>On Monday 06 June 2005 21:00, Jeremy Wall wrote:
>  
>
>>I don't know if it's suitable for you requirements but I believe a
>>VRML/X3D python export script that is very close to completion if
>>it's not complete already.
>>    
>>
>
>The one's Bart pointed out? That looks excellent (not tested yet)!! 
>Thanks very very much!
>
>Of course the "native" support for XML would be great, too. But being 
>able to create X3D XML data out of a blender file is already great. 
>Thank you all,
>  
>

Also note that any well-designed XML format should be "relatively
simple" (much easier than flat binary or non-XML text) to transform in
some desired way from one DTD to another.  The ease of processing XML
was one of the original design goals.  It was certainly one of the
considerations on the (now-defunct) VRML mailing list when X3D was first
proposed.

I assume you're already familiar with XSL processors like Xalan:
    http://xml.apache.org/xalan-j
As well as normal XSL processing, Xalan has Java extension functions
which allow you to implement all sorts of arbitrary processing of
elements and their children.

If all else failed, you could just use a DOM-based solution to extract
portions of a Blender XML file and transform them to an X3D DOM
representation.

Jonathan Merritt.



More information about the Bf-committers mailing list