1
%%% The contents of this file are subject to the Erlang Public License,
2
%%% Version 1.0, (the "License"); you may not use this file except in
3
%%% compliance with the License. You may obtain a copy of the License at
4
%%% http://www.erlang.org/license/EPL1_0.txt
6
%%% Software distributed under the License is distributed on an "AS IS"
7
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
8
%%% the License for the specific language governing rights and limitations
11
%%% The Original Code is xmerl-0.19
13
%%% The Initial Developer of the Original Code is Ericsson Telecom
14
%%% AB. Portions created by Ericsson are Copyright (C), 1998, Ericsson
15
%%% Telecom AB. All Rights Reserved.
17
%%% Contributor(s): "Vlad Dumitrescu" <Vlad.Dumitrescu@erv.ericsson.se>.
19
%%%----------------------------------------------------------------------
20
%%% #0. BASIC INFORMATION
21
%%%----------------------------------------------------------------------
22
%%% File : xmerl_xs.erl
23
%%% Author : Mikael Karlsson <mikael.karlsson@creado.com>
24
%%% Ulf Wiger <ulf.wiger@ericsson.com>
25
%%% Description : Implements XSLT like transformations in Erlang
27
%%% Modules used : lists, xmerl_xpath,
29
%%%----------------------------------------------------------------------
4
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
20
%% Description : Implements XSLT like transformations in Erlang
31
23
% Erlang has similarities to XSLT since both languages
32
24
% have a functional programming approach. Using <code>xmerl_xpath</code>
35
27
% <p>XSLT stylesheets are often used when transforming XML
36
28
% documents, to other XML documents or (X)HTML for presentation.
37
% There are a number of brick-sized books written on the
38
% topic. XSLT contains quite many
39
% functions and learning them all may take some effort, which
40
% could be a reason why the author only has reached a basic level of
41
% understanding. This document assumes a basic level of
29
% XSLT contains quite many
30
% functions and learning them all may take some effort.
31
% This document assumes a basic level of
42
32
% understanding of XSLT.
44
34
% <p>Since XSLT is based on a functional programming approach