]> git.sesse.net Git - xml-template/commitdiff
Organize everything into neat directories.
authorsgunderson@bigfoot.com <>
Sat, 12 Aug 2006 14:09:05 +0000 (16:09 +0200)
committersgunderson@bigfoot.com <>
Sat, 12 Aug 2006 14:09:05 +0000 (16:09 +0200)
16 files changed:
perl/XML/Template.pm [moved from XML/Template.pm with 100% similarity]
perl/attribute.pl [moved from attribute.pl with 85% similarity]
perl/attribute2.pl [moved from attribute2.pl with 83% similarity]
perl/clone.pl [moved from clone.pl with 80% similarity]
perl/include.pl [moved from include.pl with 57% similarity]
perl/simple.pl [moved from simple.pl with 67% similarity]
php/attribute.php [moved from attribute.php with 86% similarity]
php/attribute2.php [moved from attribute2.php with 84% similarity]
php/clone.php [moved from clone.php with 82% similarity]
php/include.php [moved from include.php with 57% similarity]
php/simple.php [moved from simple.php with 67% similarity]
php/xml-template.php [moved from xml-template.php with 100% similarity]
xml/clone.xml [moved from clone.xml with 100% similarity]
xml/included.xml [moved from included.xml with 100% similarity]
xml/master.xml [moved from master.xml with 100% similarity]
xml/simple.xml [moved from simple.xml with 100% similarity]

similarity index 100%
rename from XML/Template.pm
rename to perl/XML/Template.pm
similarity index 85%
rename from attribute.pl
rename to perl/attribute.pl
index 16826cab891da142b7110d6fbaca4ccfc047a992..9e4947d459777a8602820e0ed5ec8c2e64044f59 100644 (file)
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 use XML::Template;
 
-my $doc = XML::Template::process_file('clone.xml', {
+my $doc = XML::Template::process_file('../xml/clone.xml', {
        'color' => 'red',
        '#things' => [
                { 'li' => 'Raindrops on roses',    'li.class' => 'odd' },
similarity index 83%
rename from attribute2.pl
rename to perl/attribute2.pl
index 038ae920117faa2b5cf5e65d08eeb4f5c7b946d5..2557d3315f7ffa75c201055a477504d0c89641df 100644 (file)
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 use XML::Template;
 
-my $doc = XML::Template::process_file('clone.xml', {
+my $doc = XML::Template::process_file('../xml/clone.xml', {
        'color' => 'blue',
        '#things' => XML::Template::alternate('li.class', [
                { 'li' => 'Raindrops on roses' },
similarity index 80%
rename from clone.pl
rename to perl/clone.pl
index 0881cb2971667a265aedc842f4698bfbb82fb411..47986be4fba07fb0366c05bcfac3864f57bea4ec 100644 (file)
--- a/clone.pl
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 use XML::Template;
 
-my $doc = XML::Template::process_file('clone.xml', {
+my $doc = XML::Template::process_file('../xml/clone.xml', {
        'color' => 'blue',
        '#things' => [
                { 'li' => 'Raindrops on roses' },
similarity index 57%
rename from include.pl
rename to perl/include.pl
index 26b2562cc1c66b0778dac2d1adb17b9ada41bc17..5c0ec5eacdc08e0dddfe8e7f8bf368e85aaf3ea8 100644 (file)
@@ -1,10 +1,10 @@
 #! /usr/bin/perl
 use XML::Template;
 
-my $doc = XML::Template::process_file('included.xml', {
+my $doc = XML::Template::process_file('../xml/included.xml', {
        'color' => 'red'
 });
-my $master = XML::Template::process_file('master.xml', {
+my $master = XML::Template::process_file('../xml/master.xml', {
        'title' => 'Main HTML title',
        'h1' => 'Nice heading here',
        'contents' => $doc
similarity index 67%
rename from simple.pl
rename to perl/simple.pl
index 04c4eb46d2d0de9921ce7586e377c406f29e5758..6089d27ce971e7896526d9b8d8d333c23b9c78f6 100644 (file)
--- a/simple.pl
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 use XML::Template;
 
-my $doc = XML::Template::process_file('simple.xml', {
+my $doc = XML::Template::process_file('../xml/simple.xml', {
        'title' => 'A very basic example',
        '#hello' => 'Hello world!'
 });
similarity index 86%
rename from attribute.php
rename to php/attribute.php
index 20f33cd7bb1fcdcf29db6956ed81d78e9ae5c78a..b4899b8e6d0461ce75bbd1570eb93a140125ee0d 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 require('xml-template.php');
 
-$doc = XML_Template_process_file('clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'red',
        '#things' => array(
                array( 'li' => 'Raindrops on roses',    'li.class' => 'odd' ),
similarity index 84%
rename from attribute2.php
rename to php/attribute2.php
index 6beb24b87f1e3fed79dfd3fc87d8e6ac0cf590f0..e1450458da7dd69fd920e469ce6f61da187e6bf3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 require('xml-template.php');
 
-$doc = XML_Template_process_file('clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
        '#things' => XML_Template_alternate('li.class', array(
                array( 'li' => 'Raindrops on roses' ),
similarity index 82%
rename from clone.php
rename to php/clone.php
index df02dd5a45931541cfb5caee6b17c53c45126bc4..2bbd2665473f84878a5f5ee8f8a6a791123e1d20 100644 (file)
--- a/clone.php
@@ -1,7 +1,7 @@
 <?php
 require('xml-template.php');
 
-$doc = XML_Template_process_file('clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
        '#things' => array(
                array( 'li' => 'Raindrops on roses' ),
similarity index 57%
rename from include.php
rename to php/include.php
index a4b0ab32544357cf07e8dfc18c5757a8eeb8c18b..8cbe0010f7173ffce5a6e09d1f4227412ac5d43e 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 require('xml-template.php');
 
-$doc = XML_Template_process_file('included.xml', array(
+$doc = XML_Template_process_file('../xml/included.xml', array(
        'color' => 'red'
 ));
-$master = XML_Template_process_file('master.xml', array(
+$master = XML_Template_process_file('../xml/master.xml', array(
        'title' => 'Main HTML title',
        'h1' => 'Nice heading here',
        'contents' => $doc
similarity index 67%
rename from simple.php
rename to php/simple.php
index 85614d5b2f6c2931cce4e437736476826c248484..10e73f1e155d0ca4a7116c7e6e4d2c758caf792f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 require('xml-template.php');
 
-$doc = XML_Template_process_file('simple.xml', array( 
+$doc = XML_Template_process_file('../xml/simple.xml', array( 
        'title' => 'A very basic example',
        '#hello' => 'Hello world!'
 ));
similarity index 100%
rename from xml-template.php
rename to php/xml-template.php
similarity index 100%
rename from clone.xml
rename to xml/clone.xml
similarity index 100%
rename from included.xml
rename to xml/included.xml
similarity index 100%
rename from master.xml
rename to xml/master.xml
similarity index 100%
rename from simple.xml
rename to xml/simple.xml