[XSLT] Renommer un élément
Bonjour,
J'ai une question (c'est la dernière. promis)...
J'ai la DTD suivante :
Code:
1 2 3 4 5 6 7 8 9 10
|
<?xml version="1.0" encoding="iso-8859-1" ?>
<!ELEMENT test (auteur, calories, ingrédients)>
<!ELEMENT auteur (#PCDATA)>
<!ELEMENT calories (#PCDATA)>
<!ELEMENT ingrédients (ingrédient)+>
<!ELEMENT ingrédient (Sucre-brun | Lait | Farine)>
<!ELEMENT Sucre-brun EMPTY>
<!ELEMENT Lait EMPTY>
<!ELEMENT Farine EMPTY> |
Dans la feuille XSL, y a-t-il une façon de faire en sorte que l'élément "Sucre-brun" devienne "Sucre brun" (sans trait-d'union) au final?
Merci!