|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Quick one - can attribute values contain spaces?
Ian Tindale wrote: > Quick one - can attribute values contain spaces? I realise this is probably > more a general XML question, actually, come to think of it. > > Like this: > > <elephant tshirt="bloody huge" /> Yes. There are several attribute types that (the values of which) are/must-be a space-separated list of names and a validating parser will not accept another delimiter (that cannot be used in a name). Such are: IDREFS, ENTITIES, NMTOKENS. There are useful templates (e.g. for string padding) which use an attribute value containing ***only*** spaces. Cheers, Dimitre Novatchev. __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ 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








