[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: AW: AW: AW: xhtml output formating problems / pass

Subject: AW: AW: AW: AW: 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
xsl start tags in variables
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.