« Return to Thread: Converting old meshes

Re: Converting old meshes

by Timothy M. Shead :: Rate this Message:

Reply to Author | View in Thread

Daniel Scott Matthews wrote:

> On Sun, Jun 28, 2009 at 11:05 PM, Bart Janssens
> <bart.janssens@...> wrote:
>> On Sat, Jun 27, 2009 at 11:10 PM, Daniel Scott
>> Matthews<dsmatthews@...> wrote:
>>> On Sun, Jun 28, 2009 at 1:27 AM, Timothy M. Shead<tshead@...> wrote:
>>>> To clarify - I don't know whether XSLT is the right tool for the job or
>>>> not - I think there may be limitations on what can be expressed in XSLT;
>>>> there have been other attempts at XML-transformation languages, maybe
>>>> there's a library out there that we could incorporate.  Suggestions
>>>> definitely welcome ...
>>>>
>>> http://www.cduce.org/ or http://xduce.sourceforge.net ?
>> These look good as well, but I think they're not as mainstream as
>> XSLT. From my experience, XSLT (especially 2.0) is pretty powerful.
>> Are there any concrete use cases where you think it might fall short?
>>
> Not really, it is probably Turing complete, are speed and being type
> safe important?
Apologies for my lack of clarity earlier.  Let me say this: handling
legacy data will always be critically important for users, so it needs
to be built into the application in a comprehensive way and not a
separate tool.  We currently have a reasonable approach for "upgrading"
legacy data in C++, but it involves hard-to-write / hard-to-comprehend
manual processing of the XML tree that is really verbose / fiddly.  XSLT
is nice, because it can be very compact and easy to understand for some
problems, but not others.  What I wish existed for C++ was some library
equivalent to Amara, see

http://xml3k.org/Amara

... what I like about Amara is that it provides a nice interface between
the "host" language (Python) and the XML, without creating
yet-another-procesing-language.  I might try to adapt some Amara-like
features to our XML layer and see whether that helps.

And while I'm on a tear, see

http://www.ibm.com/developerworks/library/x-xml2008prevw.html?ca=dgr-lnxw01XML-Future

for an interesting read on XML.

Cheers,
Tim


[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
url:www.k-3d.org
version:2.1
end:vcard



------------------------------------------------------------------------------

_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

 « Return to Thread: Converting old meshes