|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








