|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Carriage returns within attribute values
Sébastien Bouchet wrote: > I tried to change the XML file : <elt att="firstword > secondword"> > But it doesn't help : the \n is processed like a white space. > Is there a standard way to achive this goal, a kind of > <elt att="firstword\nsecondword"> ? No, because whitespace in attribute values is collapsed to a single space, and leading & trailing whitespace is removed, according to section 3.3.3 of the XML 1.0 spec. See http://www.w3.org/TR/1998/REC-xml-19980210.html#AVNormalize Yet another one for the "when to use elements instead of attributes" FAQ... 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








