xsl-list
[Top] [All Lists]

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

2004-09-09 09:30:07
  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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>