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

RE: tag minimisation

Subject: RE: tag minimisation
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Wed, 11 Sep 2002 13:30:00 +0100
RE:  tag minimisation
> well the serialiser doesn't see any markup at all, but it 
> sees an empty
> node that looks exactly the same as a node that had been placed in the
> result tree by <div/>.

[snip]

> what the serialiser sees is some data in the Xpath data model that it
> has to write out using XML syntax. The only thing in the data model
> that corresponds to  <div></div> is an empty div node and that could
> just as easily have come from a literal "<div/>" in the stylesheet.

aaah, that explains it.  The serialiser has no concept of <a></a> or
<a/>, only that 'element <a> is empty'.

It then decides how to output that element to the result tree based on
the output method.

Now that I can see that clearly in my mind, I can understand what you
were getting at with the <br></br> issue, and why a 'minimisation
switch' isnt simply a case of saying 'dont minimise'... :)

cheers david, got there in the end.


andrew




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 04/09/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.