AminetAminet
Search:
83288 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/misc/libxslt-mos-tutorials.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:libxslt tutorials
Author:John Fleck and Panos Louridas, compile by uploader
Uploader:IKE (ike ezcyberspace com)
Type:text/misc
Architecture:ppc-morphos
Date:2019-04-14
Download:http://aminet.net/text/misc/libxslt-mos-tutorials.lha - View contents
Readme:http://aminet.net/text/misc/libxslt-mos-tutorials.readme
Downloads:258
Introduction:

The Extensible Stylesheet Language Transformations (XSLT) specification defines
an XML template language
for transforming XML documents. An XSLT engine reads an XSLT file and an XML
document and transforms the
document accordingly.

The first tutorial is on building a simple application using the libxslt library
to perform XSLT transformations
to convert an XML file into HTML (John Fleck).

http://xmlsoft.org/libxslt/tutorial/libxslttutorial.html

The second tutorial is to perform a series of XSLT transformations to a series
of documents. An obvious solution
is to use the operating system's pipe mechanism and start a series of
transformation processes, each one taking
as input the output of the previous transformation. It would be interesting,
though, and perhaps more efficient
if we could do our job within a single process (Panos Louridas).

http://xmlsoft.org/libxslt/tutorial2/libxslt_pipes.html


This compile:

Using libxml 20622-CVS2642, libxslt 10109 and libexslt 807
xsltproc was compiled against libxml 20622, libxslt 10109 and libexslt 807
libxslt 10109 was compiled against libxml 20622
libexslt 807 was compiled against libxml 20622

libxml 2.6.22 was ported by Ilkka Lehtoranta (ilkleht at isoveli.org) and was used
to build this version.

Check out: ftp://xmlsoft.org/libxml2/ for other versions


Compile and Useage (gcc 2.95.3):

libxslt_tutorial

gcc libxslt_tutorial.c -lxml2 -lxslt -lz -lm -liconv -s -Wall -O3 -o
libxslt_tutorial

libxslt_tutorial blah.xml blah.csv > ram:blah.html


libxslt_pipes

gcc libxslt_pipes.c -lxml2 -lxslt -lz -lm -liconv -s -Wall -O3 -o libxslt_pipes

libxslt_pipes --out results.xml foo.xsl bar.xsl doc1.xml doc2.xml


Licenses:

John Fleck

This is version 0.4 of the libxslt Tutorial

Copyright © 2001 John Fleck

Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation
License, Version 1.1 or any later version published by the Free Software
Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be
found here: http://www.gnu.org/copyleft/fdl.html


Panos Louridas

Copyright © 2004 Panagiotis Louridas

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation
files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the
Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.


Creating new archive 'libxslt-morphos-tutorials.lha':
     Frozen: ( 51.8%)    3410 =>   1642 :
libxslt-morphos-tutorials/libxslt-morphos-tutorials.txt
     Frozen: ( 64.5%) 3422208 =>1214540 :
libxslt-morphos-tutorials/libxslt_pipes
     Frozen: ( 67.2%)    3835 =>   1257 :
libxslt-morphos-tutorials/libxslt_pipes.c
     Frozen: ( 64.5%) 3421440 =>1214128 :
libxslt-morphos-tutorials/libxslt_tutorial
     Frozen: ( 54.5%)    1900 =>    863 :
libxslt-morphos-tutorials/libxslt_tutorial.c
5 files added, all files OK.
Operation successful.


Contents of text/misc/libxslt-mos-tutorials.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 1642    3410  48.2% -lh5- 00d2 Mar 23 17:49 libxslt-morphos-tutorials/libxslt-morphos-tutorials.txt
[generic]              1214540 3422208  35.5% -lh5- adf7 Mar  5 21:30 libxslt-morphos-tutorials/libxslt_pipes
[generic]                 1257    3835  32.8% -lh5- 802e Mar  5 21:30 libxslt-morphos-tutorials/libxslt_pipes.c
[generic]              1214128 3421440  35.5% -lh5- ace3 Feb 27 19:59 libxslt-morphos-tutorials/libxslt_tutorial
[generic]                  863    1900  45.4% -lh5- 64d6 Mar 23 17:46 libxslt-morphos-tutorials/libxslt_tutorial.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files 2432430 6852793  35.5%            Apr 14 22:43

Aminet © 1992-2020 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>