~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/xmerl/src/xmerl_xs.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
5
 
%%%
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
9
 
%%% under the License.
10
 
%%%
11
 
%%% The Original Code is xmerl-0.19
12
 
%%%
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.
16
 
%%%
17
 
%%% Contributor(s): "Vlad Dumitrescu" <Vlad.Dumitrescu@erv.ericsson.se>.
18
 
%%%
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
26
 
%%% 
27
 
%%% Modules used : lists, xmerl_xpath, 
28
 
%%%                
29
 
%%%----------------------------------------------------------------------
 
1
%%
 
2
%% %CopyrightBegin%
 
3
%% 
 
4
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
 
5
%% 
 
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/.
 
11
%% 
 
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
 
15
%% under the License.
 
16
%% 
 
17
%% %CopyrightEnd%
 
18
%%
 
19
 
 
20
%% Description  : Implements XSLT like transformations in Erlang
 
21
 
30
22
%% @doc
31
23
%       Erlang has similarities to XSLT since both languages
32
24
%       have a functional programming approach. Using <code>xmerl_xpath</code>
34
26
%
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.
43
33
%     </p>
44
34
%     <p>Since XSLT is based on a functional programming approach
56
46
%     </p>
57
47
 
58
48
-module(xmerl_xs).
59
 
-vsn('0.19').
60
 
-date('03-02-03').
61
 
-author('mikael.karlsson@creado.com').
62
49
 
63
50
-export([xslapply/2, value_of/1, select/2, built_in_rules/2 ]).
64
51
-include("xmerl.hrl").