[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: AW: AW: AW: [xsl] xhtml output formating problems / passing through pre defined static xhtml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 9 Sep 2004 17:30:07 +0100

  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
Keywords