Commit ad43df76 authored by qaomia's avatar qaomia

xsl xhtml2hdoc added

parent 0bbcab18
This diff is collapsed.
......@@ -2,6 +2,35 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
<<<<<<< 0bbcab183e98cc176614025950186e8d2c62bf54
version="2.0">
=======
xmlns="http://www.utc.fr/ics/hdoc/xhtml"
version="2.0" xpath-default-namespace="http://www.w3.org/1999/xhtml">
<xsl:output method="xml" indent="yes"></xsl:output>
<xsl:template match="html">
<html>
<head>
<title><xsl:value-of select="/html/head/title"/></title>
<meta charset="utf-8"/>
</head>
<body>
<section>
<header>
<h1>Contenu</h1>
</header>
<div>
<p><xsl:value-of select="/html/body/div"></xsl:value-of></p>
</div>
</section>
</body>
</html>
</xsl:template>
<xsl:template match="*">
<xsl:comment>Balise inconnue</xsl:comment>
</xsl:template>
>>>>>>> xsl xhtml2hdoc added
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment