xsl-list
[Top] [All Lists]

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

2004-09-09 10:05:04
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(_at_)nag(_dot_)co(_dot_)uk] 
Gesendet: Donnerstag, 9. September 2004 18:30
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
________________________________________________________________________

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




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