[topicmapmail] TM/XML

Lars Marius Garshol larsga@ontopia.net
Wed, 07 Dec 2005 11:04:08 +0100


* Miles Thompson
| 
| Thanks for all your responses. I think I get it now ;-)

Good! 
 
| In relation to the bit that wasn't clear, woops, I left out a word.

:)
 
| I meant to ask only whether the XSLT style sheet that creates XTM
| from TM/XML is long and complex and/or slow to process. Silly
| question really.

Not really. The stylesheet is 242 lines, so hardly long. It's slightly
complex. The tricky bits were the namespace processing (you have to
work along the namespace axis etc) and scope processing (you have to
split the -scope- value, and that requires an XSLT extension).

There is definitely limits on the sizes of the TM/XML you can process
with this, though, as XSLT processors operate in-memory. With a proper
topic map engine that will be much less of an issue, as that would
allow you to just import TM/XML directly into a persistent store.

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >