About Node Properties in DTDs

Each node in a DTD is associated with one or more properties. Every node has a Type property. The properties associated with a node vary according to the value of the Type property. Stylus Studio supports the following values for the Type property of a node in a DTD:

  • Element
  • Attribute
  • DTD Modifier
  • PCDATA
  • Entity
  • Parameter Entity
  • Text
  • Comment

To determine the properties for a particular node in a DTD, click the node. Stylus Studio displays the properties in the Properties window. If the Properties window is not visible, select View > Properties from the Stylus Studio menu bar.

To change a property, double-click the property value in the Properties window. Enter the new value or, if a drop-down menu appears, double-click the value you want. Any changes you make in the Properties window are immediately reflected in the Tree and Text views. You cannot change the type property of a node.

The remainder of this section discusses the following topics:

Sun Multi-Schema XML Validator (MSV)

Learn how to integrate the Multi Schema Validator (MSV) into Stylus Studio as one of the Custom Validation Engines. It will work for files with a DTD, a single XSD, or both a DTD and a single XSD.

DTD vs. Schema

Stylus Studio provides tools for working with both W3C XML Schema and DTD's - this tutorial explains what the differences are between the two, providing a technical comparison of DTD vs Schema.

An Introduction To XML Schema Development

An Introduction to XML schema development in Stylus Studio covers some of the highlights of our XML Schema Editor, powerful tools for editing, validating, converting and generating XML schema. Watch the video online today!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member