Parameter Entity Example in a DTD

Suppose you define the invoice parameter entity as an internal entity as follows:

<!ENTITY % customer "name, street, city, state, zipcode">
               

            

The percent sign ( %) after the ENTITY keyword indicates that this is a parameter entity. Later in the DTD, you can reference this parameter entity as follows:

<!ELEMENT invoice (%customer;, item, price, date)>
               

            

When this DTD is processed, it is as if you had specified the following:

<!ELEMENT invoice (name, street, city, state, zipcode, item, price, date)>
               

            

XML Programming

Simplify XML Programming with Stylus Studio's XML Pipeline, a powerful tool for modeling, programming, debugging and deploying complete XML programs.

Educational Institutions That Use Stylus Studio

Education is the most powerful tool one can have. That's why these top education providers reach for Stylus Studio to educate their students and professors as well. See which education providers have the most powerful XML IDE in their classrooms!

Translating XML documents to EDIFACT

In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to EDIFACT

Single Source Publishing

Single source publishing is the ability to use one source of information for generating multiple types of output. Stylus Studio XML Publishing enables Single Source Publishing - publish PDF or HTML documents from Relational, XML or Legacy files.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member