Skip to content

Commit 72c0b44

Browse files
author
paulmillar
committed
Initial import of Xylophone code, from the (nominal) v0.1 release.
1 parent d7f723b commit 72c0b44

13 files changed

Lines changed: 4307 additions & 0 deletions

‎Documentation/Guide.txt‎

Lines changed: 1536 additions & 0 deletions
Large diffs are not rendered by default.

‎Documentation/dynamic.xml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--+
4+
| An example of arbitrary dynamic data, as mentioned in the
5+
| README.txt documentation.
6+
+-->
7+
8+
<animals>
9+
<animal class="bird">
10+
<type>African Grey</type>
11+
<name>Polly</name>
12+
</animal>
13+
14+
<animal class="bird">
15+
<type>Budgerigar</type>
16+
<name>Bill</name>
17+
</animal>
18+
19+
<animal class="snake">
20+
<type>Ball Python</type>
21+
<name>Fred</name>
22+
</animal>
23+
24+
<animal class="dog">
25+
<type>Labrador</type>
26+
<name>Dexter</name>
27+
<colour>Black</colour>
28+
</animal>
29+
</animals>

‎Documentation/hello-world.xml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--+
4+
| This is a "Hello world" example file. To generate the output
5+
| using xsltproc, you should do:
6+
|
7+
| xsltproc xylophone.xsl hello-world.xml
8+
|
9+
| The file README.txt contains more information, including a
10+
| description of this file's format and how to use some of the
11+
| other XSLT processors available.
12+
+-->
13+
14+
<xylophone>
15+
<publish>
16+
<object rdn="item">
17+
<attr name="item">test</attr>
18+
<attr name="message">Hello world!</attr>
19+
</object>
20+
</publish>
21+
</xylophone>

‎License.txt‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (c) 2008, Paul Millar
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
o Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
11+
o Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in
13+
the documentation and/or other materials provided with the
14+
distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

‎README.txt‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Xylophone: style-sheets for expressing XML as LDIF.
2+
3+
The project page is available here:
4+
5+
http://sourceforge.net/projects/xylophone
6+
7+
8+
Documentation is available within the file: Documentation/Guide.txt.
9+
This file describes how to use Xylophone and gives several examples.
10+
11+
A complete, but trivial "hello world" example is provided with the
12+
file hello-world.xml. To use it (with xsltproc), do:
13+
14+
xsltproc xsl/xylophone.xsl Documentation/hello-world.xml
15+
16+
The file Documentation/dynamic.xml is an example "dynamic" file that
17+
is mentioned in the documentation. It is included for convenience and
18+
is not required to use Xylophone.
19+
20+
The XSLT style-sheets are made available under the terms and
21+
conditions described in the file Licence.txt and at the top of each
22+
XML file. In essence, it is a two-clause BSD license.
23+

0 commit comments

Comments
 (0)