Re: [xml] Normalization Query



On Tue, Mar 18, 2008 at 11:11:44AM +0530, Ashwin wrote:

   Hi,

   For  the  following  attribute  what will be the normalized value, the
   attribute is of type NMTOKENS

   <doc a="&#32;x&#32;&#32;y&#32;"></doc>

   Will it be

   A=x y

   Or

   A= x  y

  The answer is there
    http://www.w3.org/TR/REC-xml/#AVNormalize


   Libxml returns the second value after Normalization

  yes

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]