Working With Parsed Entities

See Also 

If several of your XML documents must refer to a single piece of information, you can store that information in an external parsed entity. Any changes you make to the external entity are then automatically reflected in all of the documents that reference it.

  1. To create an external parsed entity:
  2. From the main window, choose File and choose New.
  3. In the New wizard, expand the XML folder and select XML Parsed Entity. Then click Next.
  4. Specify a name and location for the file. Then click Finish.
    The IDE creates the file with the file name you specify and an .ent extension. The file's parsed entity node (parsed entity node icon) also appears in the Explorer.

To edit an external parsed entity:

To reference an external parsed entity in your XML document:

  1. Make sure that the parsed entity is declared in your XML document's DTD.
  2. Right-click any element node in the Explorer and choose Add and choosing Entity Reference.
  3. Type the name for the parsed entity and click OK.

For more information about using parsed entities in XML documents, see:

http://www.w3.org/TR/REC-xml#TextEntities

See also
Creating an XML Document
Editing an XML Document
DTD Nodes in the Explorer

Legal Notices