Bonjour,
I try to write the attributes value of an element before it, but I don't know 
exactly which attributes are on the element, and some attribute with different 
style.
I try to use the ::attributes but in this case I have to use the three division.
I'm not sure to explain me then I try to give a sample.
<Texte NomStyle="Essai" Numero="N23">ceci est un texte </Texte>
-->[Essai]{N23}ceci est un texte
<Texte NomStyle="Essai">ceci est un texte </Texte>
-->[Essai]ceci est un texte
<Texte Numero="N23">ceci est un texte </Texte>
-->{N23}ceci est un texte
I try to do
Texte[Numero]:before {
content: "{" attr(Numero) "}";
}
but in the first case this rule doesn't run, and if I have 3 attributes I have 
to write all the combination.
something like :
Texte:before {
content:attributes();
}
Texte::attribute(Numero) {
content:attribute-label()  " : " value-editor(attribute,attribute())
}
doesn't run but :
Texte::attribute{
        attribute-content-left: attribute-label()  " : " ;
        attribute-content-middle : value-editor(attribute,attribute());
}
is ok.
I hope all this is clear.
-- 
Cordialement,
 Marc                          Courriel : Marc.Liste at free.fr

Post-Joint : <none>.


Reply via email to