% dans un fichier XML : c'est quoi ?
Bonjour,
Je suis encore là avec mes question "curieuses".
J'essaye d'apprendre à utiliser SVG et ses fichiers XML.
Dans presque tous les fichiers de la norme SVG 1-1, je retrouve un signe "%" dont je n'arrive pas à trouver l'explication.
Le code ci-dessous provient de la norme officielle du w3c :
Norme W3C
et le code est, par exemple :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| <!ENTITY % SVG.path.extra.content "" >
<!ENTITY % SVG.path.element "INCLUDE" >
<![%SVG.path.element;[
<!ENTITY % SVG.path.content
"(( %SVG.Description.class; )*, ( %SVG.Animation.class;
%SVG.path.extra.content; )*)"
>
<!ELEMENT %SVG.path.qname; %SVG.path.content; >
<!-- end of SVG.path.element -->]]>
<!ENTITY % SVG.path.attlist "INCLUDE" >
<![%SVG.path.attlist;[
<!ATTLIST %SVG.path.qname;
%SVG.Core.attrib;
%SVG.Conditional.attrib;
%SVG.Style.attrib;
%SVG.Paint.attrib;
%SVG.Color.attrib;
%SVG.Opacity.attrib;
%SVG.Graphics.attrib;
%SVG.Marker.attrib;
%SVG.Clip.attrib;
%SVG.Mask.attrib;
%SVG.Filter.attrib;
%SVG.GraphicalEvents.attrib;
%SVG.Cursor.attrib;
%SVG.External.attrib;
d %PathData.datatype; #REQUIRED
pathLength %Number.datatype; #IMPLIED
transform %TransformList.datatype; #IMPLIED
> |
Qui peut me dire à quoi sert le signe % placé devant certaines lignes de code ?
Que signifie-t-il ?
Pourquoi (ou est-ce important) y a-t-il parfois un espace entre ce signe le le mot qui suit et parfois il est accolé au mot qui le suit ?
Merci.