Specifying Format

There are several ways to exercise control over the format of the XML document output by the adapter.

  • Indenting - By default, Stylus Studio indents the XML generated by the adapter. You can remove indenting by changing the value of the Indent XML? property to False.
  • Whitespace - The Normalize Whitespace property converts tabs, carriage returns, and line-feeds to spaces. Leading and trailing whitespaces are then removed, and any two or more consecutive whitespaces are collapsed to a single space.
  • XML Schema - The XML Schema Document property allows you to specify the XML Schema you want to associate with the XML output. There are also fields that allow you to specify System and Public DTDs.
Free Stylus Studio XML Training:
W3C Member