AW: AW: AW: AW: [xsl] xhtml output formating problems / passing through pre defined static xhtml

Subject: AW: AW: AW: AW: [xsl] xhtml output formating problems / passing through pre defined static xhtml
From: Dominic Krüger <dominic@xxxxxxxxxxxxxxx>
Date: Thu, 9 Sep 2004 19:05:04 +0200
Thanks for the help i gues XSLT can't do the job then =(

Cause I can't get it to write out the XHTML as I need ist...


-----Urspr|ngliche Nachricht-----
Von: David Carlisle [mailto:davidc@xxxxxxxxx]
Gesendet: Donnerstag, 9. September 2004 18:30
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: AW: AW: [xsl] xhtml output formating problems / passing
through pre defined static xhtml

  And this would not:

  <html>
  <head><head>
  <body>
	  <div>
		 <div>


The first thing that happens to an xsl stylesheet is that it is parsed by
an XML parser that knows _nothing_ about xslt so clearly, yes, you can not
put the above fragment in _any_ XML element. In particular you can't put
it in xsl:variable If you do you get an _XML_ parse error and XSLT won't
even start.

XSLT never manipulates tags so it never makes sense to process a start
tag and not the end tag. Think in terms of a node tree not of the markup
used to express that tree in a linear document: you can't have half a
node.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread