XSLT
Dirk Hohndel
dirk at hohndel.org
Tue Feb 26 12:00:25 PST 2013
Miika Turkia <miika.turkia at gmail.com> writes:
> On Tue, Feb 26, 2013 at 9:19 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>
>> Miika,
>>
>> as I warned you... I'm trying to understand the XSLT code. The best way
>> to do that (I thought) was to try and fix bugs as I encounter them.
>
> I bet that is less painful way than how I started (by writing the
> jdivelog2subsurface.xslt - I had absolutely know knowledge of xslt at
> the beginning)
That is impressive. Linus and I were certain that you had exposed to
this form of brain damage before and were bringing your knowledge in to
help us.
>> PLEASE review this to make sure I didn't do something stupid (I already
>> pushed it to make reviewing easier)
>
> Looks good. There might be a couple of similar elements missing - it
> all pretty much depends on the particular file I used as source, or if
> I just missed something that was actually there. (Whenever
> concatenating the unit after the value, you want to verify the value
> exists, otherwise we get the parse errors you saw earlier.)
That's what the code does. So does the second snippet I just pushed...
So yeah, what I'm doing right now is going through the exports I have
created or received from others and looking at which other values we
should parse.
/D
More information about the subsurface
mailing list