Hi,
Is the big file supposed to be HTML?
If so, it is not simple - as each HTML document has exactly one html and one body element - but you would put multiple html elements into the file.
You would have to remove the doctypes, the tags of the html element and the body element, the head elements (with all their contents).
Of course you would have to add exactly ONE doctype and one head element.
You should also add some separator (I'd suggest a hr element with a special class attribute, or if the separator should be invisible, a special comment).
Just as I sent the posting, I remembered more complications:
As id-values must be unique per document, you'd have to find a way to make them unique.
Also fragment identifiers (as in <a name="fragmentid">) could be a problem if they are not unique any longer ...
cu,
Andreas
Warum nennt sich Andreas hier MudGuard?
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.