OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] New line in attribute

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] New line in attribute
  • From: richard@inf.ed.ac.uk (Richard Tobin)
  • Date: Tue, 24 May 2005 23:39:09 +0100 (BST)
  • Cc:
  • In-reply-to: <200505241552.j4OFqIYe008369@dalziel.ucs.ed.ac.uk>
  • Organization: HCRC, University of Edinburgh

In article <200505241552.j4OFqIYe008369@dalziel.ucs.ed.ac.uk> you write:
>This is an XML feature called "attribute value normalization". You can't
>switch it off, it's built into the XML specification.

If you really want to get a linefeed into an attribute value you
can use &#10; but I'd consider putting the value as element content
instead.

-- Richard




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS