diff options
Diffstat (limited to 'data/starthere')
-rw-r--r-- | data/starthere/Makefile.am | 12 | ||||
-rw-r--r-- | data/starthere/index.xml.in | 8 | ||||
-rw-r--r-- | data/starthere/section.xsl | 23 |
3 files changed, 43 insertions, 0 deletions
diff --git a/data/starthere/Makefile.am b/data/starthere/Makefile.am new file mode 100644 index 000000000..411c442cf --- /dev/null +++ b/data/starthere/Makefile.am @@ -0,0 +1,12 @@ +@INTLTOOL_XML_RULE@ + +xmldir = $(pkgdatadir)/starthere +xml_in_files = index.xml.in +xml_DATA = $(xml_in_files:.xml.in=.xml) + +xsldir = $(pkgdatadir)/starthere +xsl_DATA = section.xsl + +EXTRA_DIST = $(xml_DATA) \ + $(xml_in_files) + diff --git a/data/starthere/index.xml.in b/data/starthere/index.xml.in new file mode 100644 index 000000000..b24de14f1 --- /dev/null +++ b/data/starthere/index.xml.in @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="section.xsl"?> +<section> +<_title>The web browser</_title> +<_paragraph>What you use it for ?</_paragraph> +<_title>Getting started</_title> +<_paragraph>How I begin ? Import bookmarks, proxy settings</_paragraph> +</section> diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl new file mode 100644 index 000000000..6b349c626 --- /dev/null +++ b/data/starthere/section.xsl @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- root rule --> +<xsl:template match="/"> + <xsl:apply-templates/> +</xsl:template> + +<!-- main rule for document element --> +<xsl:template match="section"> +<html> + <head> + </head> + <body> + <xsl:apply-templates/> + </body> +</html> +</xsl:template> + +</xsl:stylesheet> + |