From: Mikhail S G. <mgr...@co...> - 2004-10-12 23:00:42
|
It looks like it is normal behaviour. Line breaks within attribute values are replaced by spaces by correct XML parser. If you want to have attribute values with line breaks you have to encode line breaks in original input XML. for example I would say it is a bug in the application which creates your XML. --MG >i am trying to use the xmlstarlet to delete some of the nodes from an xml >file. > there are some attributes containing cr-lf s .(something like : > <doc><element name="test > 123" /></doc> > ) > this is required because the attribute contains a piece of vb code. > the attributes are not deleted, but the CR-LF pair is lost. > Is this a bug, or is there a parameter i can use to avoid this problem ? > > Thank you, > Daniel --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004 |