[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Frank Boumphrey" <bckman@i...>
  • To: <laurent@m...>, "Xml-Dev" <xml-dev@x...>
  • Date: Mon, 17 Apr 2000 14:33:03 -0400

Surely this is simple, simply declare all the element and attribute
declarations as entities and then use the list of entity declarations of
your choice.
<!--ENGLISH-->

<!ENTITY %  xmldev-experiment "xmldev-experiment">
<!ENTITY %  item "item">
<!ENTITY %  title "title">
<!ENTITY %  author "author">
<!ENTITY %  publisher "publisher">
<!ENTITY %  price "price">
<!ENTITY %  currency "currency">

<!--SPANISH-->
<!ENTITY %  xmldev-experiment "xmldev-experimentO">
<!ENTITY %  item "item">
<!ENTITY %  title "titulo">
<!ENTITY %  author "autor">
<!ENTITY %  publisher "editor">
<!ENTITY %  price "precio">
<!ENTITY %  currency "moneda">

<!--FRENCH-->
<!ENTITY %  xmldev-experiment "xmldev-essai">
<!ENTITY %  item "objet">
<!ENTITY %  title "titre">
<!ENTITY %  author "auteur">
<!ENTITY %  publisher "editeur">
<!ENTITY %  price "prix">
<!ENTITY %  currency "devise">

<!--ETC-->

  <!ELEMENT %xmldev-experiment; (%item;)+>
  <!ELEMENT %item; (%title;, %author;, %publisher;, %price;)>
  <!ATTLIST %item; xml:lang CDATA #REQUIRED>
  <!ELEMENT %title; (#PCDATA)>
  <!ELEMENT %author; (#PCDATA)>
  <!ELEMENT %publisher; (#PCDATA)>
  <!ELEMENT %price; (#PCDATA)>
  <!ELEMENT %price; %currency; CDATA #REQUIRED>

Frank


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member