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

Re: probably a stupid question

Subject: Re: probably a stupid question
From: Louis-Dominique Dubeau <ldd@xxxxxxxxxxx>
Date: 07 Mar 2000 13:00:24 -0500
stupid louis
David Carlisle <davidc@xxxxxxxxx> writes:

> > Any idea 
> 
> well it looks like css so I'd guess your input document has a <style>
> element containing that css, and your stylesheet does not specify a
> template for "style" so you get the default template which gives you the
> character data.

This is exactly why I always override the default template to generate
errors.  So if I forget to specifically deal with an element, I get an
error instead of unexpected output.  Of course you can only do that if
you know exactly what set of tags you are going to get in the input.
If you have a large set of tags and most of them should use the
default template this can also be annoying to implement because you
need a long match attribute.  There are situations however where the
time you spend for setting this up pays for itself: customers are
rarely happy when they get random data because you forgot to deal with
an element.

	Regards,
	ldd


 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.