I would like to be able to check html documents against a "template html
document" using PHP.

In the example below I would like to check if the document starts with a
<h1> + string + </h1>,  and is followed by a <h1> + "version" + ... etc.

Should/could I use XML?

Any ideas would be greatly appreciated!

<h1>DataSelect Installation and Configuration</h1>
<h3>version 1.0 - Dec 20th, 2001 (dsl/d0001v10)</h3>
by Simon.de.Kraa ([EMAIL PROTECTED])
<h2>Table of content</h2>
<li><a href="#introduction">Introduction</a>
<li><a href="#installation">Installation</a>
<li><a href="#configuration">Configuration</a>
        <li><a href="#dataselect_objects">DataSelect Objects</a>
        <li><a href="#dataselect">DataSelect</a>

<!-- --- INTRODUCTION --- -->

<h2><a name=introduction>Introduction</a></h2>
This document describes the complete process of installing and configuring

<!-- --- INSTALLATION --- -->

<h2><a name=installation>Installation</a></h2>

<!-- --- CONFIGURATION --- -->

<h2><a name=configuration>Configuration</a></h2>
<h3><a name=dataselect_objects>DataSelect Objects</a></h3>
<h3><a name=dataselect>DataSelect</a></h3>

Met vriendelijke groet / With kind regards,

ICL Nederland B.V.                      Simon de Kraa
e-Applications / Logistic Systems       Systems Architect
Het Kwadrant 1                          Tel. +31 346 598865
Postbus 4000                            Fax  +31 346 562703
The Netherlands                         mailto:[EMAIL PROTECTED]


Progress 9.1c, Roundtable 9.1c, NuSphere Pro Advantage 2.3.1 @ MS Windows
2000 5.00.2195 SP 2
Progress 9.1c @ SCO UnixWare 7.1.1

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to