mirror of
https://github.com/GNOME/libxml2.git
synced 2025-04-06 19:20:23 +08:00
Be a bit more precise about attribute in textual content, Daniel
This commit is contained in:
parent
78abcb1df6
commit
d105eb6fb8
@ -73,9 +73,10 @@ those data.</p>
|
||||
structure allowed by instances is the core of the design process of the
|
||||
vocabulary. Here are a few tips:</p>
|
||||
<ul>
|
||||
<li>use significant words for the element and attributes names</li>
|
||||
<li>do not use attributes for textual content, attributes will be modified
|
||||
by the parser before reaching the application</li>
|
||||
<li>use significant words for the element and attributes names.</li>
|
||||
<li>do not use attributes for general textual content, attributes
|
||||
will be modified by the parser before reaching the application,
|
||||
spaces and line informations will be modified.</li>
|
||||
<li>use single elements for every strings which might be subject to
|
||||
localization, the canonical way to localize XML content is to use
|
||||
siblings element carrying different xml:lang attributes like in the
|
||||
|
Loading…
x
Reference in New Issue
Block a user