Thorsten Froehlich wrote:
> In article <41d6ae1a$1@news.povray.org> , Bernd Fuhrmann
> <Sil### [at] gmx de> wrote:
>
>
>>XML is just a way to give a document (which does include programs
>>aswell) structure that is easy to parse. It does not specify the
>>structure itself. I'd make the structure almost equivalent to POVRay's
>>structure.
>
>
> OK, please provide XSLT that transforms a non-trivial X3D XML mesh to a
> POV-Ray mesh. Just the geometry. I would love to see the XSLT and its
> complexity ... so show me that I am wrong if you can!
No I won't. Its quite a task to write such a XSLT. I have never worked
with X3D. It would take me weeks to learn X3D just to proove that it is
possible.
But if you want to see XSLT in action:
I have attached a little XSLT transformation that transforms data from a
log file (almost plaintext, written by a simple PHP script), analyzes it
and displays some statistical information about it. I hope the power of
XSLT becomes visible. XSLT can also output plain text. So I could even
render this data with POVRay. That would just be a few lines. Ok it
would be useless. But at least it's possible. And I wouldn't have to
write my own parser for it. This saves me a LOT of time. It would be
cool if I could access POVRay SDL the same way and display automatic
generated data from it aswell. That is what I try to achieve (among
other things).
Regards,
Bernd Fuhrmann
Post a reply to this message
Attachments:
Download 'us-ascii' (3 KB)
|