xsl xmerl
Mikael Karlsson
mikael.karlsson@REDACTED
Wed May 5 14:10:36 CEST 2004
I have two opposite answers :-)
1.
Sure you can do anything you like, it's plain
erlang function pattern matching, so what you write
in your function body is up to you. I guess one
should make sure to return something that makes
sense in the transformation process.
2.
Doing things like that is to have sideeffects and
I heard somewhere that this is not the proper way of
doing functional programming. One reason is that
the order of how things are executed are not
really defined in the transformation.
Regards
Mikael
onsdag 05 maj 2004 17:29 skrev bry@REDACTED:
> a propos the xslt like transformations in
> erlang that mikael karrlson did looking over
> them, it seems like there's nothing to keep
> a transformation from doing anything other
> than transformation.
>
> for example one could have a transformation
> that starts other processes, actually does
> stuff, and as its output has a description
> of what it did.
> correct?
More information about the erlang-questions
mailing list