21 lines
596 B
Erlang
21 lines
596 B
Erlang
|
%%%-------------------------------------------------------------------
|
||
|
%%% @author Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||
|
%%% @copyright (C) 2013, Evgeniy Khramtsov
|
||
|
%%% @doc
|
||
|
%%%
|
||
|
%%% @end
|
||
|
%%% Created : 1 May 2013 by Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||
|
%%%-------------------------------------------------------------------
|
||
|
-record(xmlel,
|
||
|
{
|
||
|
name = <<"">> :: binary(),
|
||
|
attrs = [] :: [attr()],
|
||
|
children = [] :: [xmlel() | cdata()]
|
||
|
}).
|
||
|
|
||
|
-type(cdata() :: {xmlcdata, CData::binary()}).
|
||
|
|
||
|
-type(attr() :: {Name::binary(), Value::binary()}).
|
||
|
|
||
|
-type(xmlel() :: #xmlel{}).
|