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

Re: more elegant way to process element with default v

Subject: Re: more elegant way to process element with default value?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 13 Jun 2003 21:49:56 +0100
Re:  more elegant way to process element with default v
   and my understanding is that
   certain kinds of character data cannot be stored in attribute values,
   since they are CDATA not PCDATA. Am I mistaken about this?)

Yes you are mistaken. All character data that is allowed in element
content is allowed in attributes (although newlines are normalised
differently: to #10 in element content and #20 (usually) in attributes.
What doesn't happen is that the string is _Parsed_ looking for element
start tags, etc. Of course you have to quote " if using " to surround
teh value, but that is the only difference.

David


 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.