[erlang-questions] xmerl.hrl

Joel Reymont joelr1@REDACTED
Tue Sep 5 12:12:48 CEST 2006


Folks,

What's an easy way to locate xmerl.hrl and include it?

Do I give command line options to erl or should I reference the OTP  
installation using some internal variable?

The reason is that including xmerl.hrl should let me avoid pattern  
matching like

parse({{xmlElement, _, _, _, _, _, _, _Attrs, Content, _, _, _}, []}) ->
...

and reference Rec#xmlElement.content instead.

	Thanks, Joel

--
http://wagerlabs.com/








More information about the erlang-questions mailing list