Re: [xsl] unresolved problem using html

Subject: Re: [xsl] unresolved problem using html
From: longjohn <longjohn@xxxxxxxxxxxx>
Date: Wed, 15 May 2002 15:06:00 +0200


bryan wrote:

See the document() function for including additional XML documents.

Unfortunately I've got to include an HTML document :-( , document is only reserved to xml


can the html document be a well-formed xml document? If not can the html document be an xml document with everything below the document element in a CDATA section?

Unfortunately I don't understand what you mean about well-formed
Consider that HTML could be something like :

<a href="http://www.polito.it"; class="norm" target="_top">Politecnico di Torino</a> <br />
<a href="http://www.polito.it/dipartim/autoinfo/itindex.html"; class="norm" target="_top">Dipartimento di Automatica e Informatica</a>
<br /> Corso Duca degli Abruzzi 24 <br />Torino , Italy


and consider also that I can manipulate it before sending it to xsl because I call the string from a JSP page (of course I can't transform it into pure XML because the string could contain many kinds of HTML tags! So I can add something as head or tale of the string)





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread