complexType "xmlPrettyPrinterType"
Namespace:
Content:
complex, 18 attributes, attr. wildcard, 1 element
Defined:
globally in mule-xml.xsd; see XML source
Includes:
definitions of 13 attributes
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
(xsd:string | xsd:NMTOKEN)
 = 
xsd:string
 = 
(xsd:string | xsd:boolean)
 = 
xsd:string
 = 
xsd:string
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
xsd:string
 = 
(xsd:string | xsd:int)
 = 
xsd:string
 = 
(xsd:string | xsd:int)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
 = 
(xsd:string | xsd:boolean)
    {any attribute with non-schema namespace}
    >
   
Content: 
mule:annotations?
</...>
Content Model Elements (1):
mule:annotations
All Direct / Indirect Based Elements (1):
xml-prettyprinter-transformer
Known Usage Locations
Type Definition Detail
Type Derivation Tree
mule:annotatedType (extension)
      mule:commonTransformerType (extension)
          mule:abstractTransformerType (extension)
              xmlPrettyPrinterType
XML Source (w/o annotations (13); see within schema source)
<xsd:complexType name="xmlPrettyPrinterType">
<xsd:complexContent>
<xsd:extension base="mule:abstractTransformerType">
<xsd:attribute name="expandEmptyElements" type="mule:substitutableBoolean"/>
<xsd:attribute name="indentEnabled" type="mule:substitutableBoolean"/>
<xsd:attribute name="indentString" type="xsd:string"/>
<xsd:attribute name="indentSize" type="mule:substitutableInt"/>
<xsd:attribute name="lineSeparator" type="xsd:string"/>
<xsd:attribute name="newLineAfterNTags" type="mule:substitutableInt"/>
<xsd:attribute name="newlines" type="mule:substitutableBoolean"/>
<xsd:attribute name="newLineAfterDeclaration" type="mule:substitutableBoolean"/>
<xsd:attribute name="omitEncoding" type="mule:substitutableBoolean"/>
<xsd:attribute name="padText" type="mule:substitutableBoolean"/>
<xsd:attribute name="suppressDeclaration" type="mule:substitutableBoolean"/>
<xsd:attribute name="trimText" type="mule:substitutableBoolean"/>
<xsd:attribute name="XHTML" type="mule:substitutableBoolean"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 13/19)
expandEmptyElements
Type:
Use:
optional
Whether to expand empty elements from <tagName> to <tagName></tagName>.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="expandEmptyElements" type="mule:substitutableBoolean"/>

indentEnabled
Type:
Use:
optional
Whether to enable indenting of the XML code. If true, the indent string and size are used.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="indentEnabled" type="mule:substitutableBoolean"/>

indentSize
Type:
Use:
optional
The number of indent strings to use for each indent, such as "2" if {{indentString}} is set to an empty space and you want to use two empty spaces for each indent.
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="indentSize" type="mule:substitutableInt"/>

indentString
Type:
xsd:string, predefined
Use:
optional
The string to use as the indent, usually an empty space.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="indentString" type="xsd:string"/>

lineSeparator
Type:
xsd:string, predefined
Use:
optional
The string to use for new lines, typically "\n".
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="lineSeparator" type="xsd:string"/>

newLineAfterDeclaration
Type:
Use:
optional
Whether a new line is printed after the XML declaration (assuming it is not supressed).
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="newLineAfterDeclaration" type="mule:substitutableBoolean"/>

newLineAfterNTags
Type:
Use:
optional
If the {{newlines}} attribute is true, the number of closing tags after which a newline separator is inserted. For example, setting this to "5" will cause a newline to be inserted after the output of five closing tags (including single tags).
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="newLineAfterNTags" type="mule:substitutableInt"/>

newlines
Type:
Use:
optional
Whether newlines should be printed. If false, the XML is printed all on one line.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="newlines" type="mule:substitutableBoolean"/>

omitEncoding
Type:
Use:
optional
Whether the XML declaration line includes the encoding of the document. It is common to suppress this in protocols such as SOAP.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="omitEncoding" type="mule:substitutableBoolean"/>

padText
Type:
Use:
optional
Whether to ensure that text immediately preceded by or followed by an element will be "padded" with a single space. This is useful when you set {{trimText}} to true and want to ensure that "the quick <b>brown</b> fox" does not become "the quick<b>brown</b>fox".
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="padText" type="mule:substitutableBoolean"/>

suppressDeclaration
Type:
Use:
optional
Whether to suppress the XML declaration line. It is common to suppress this in protocols such as SOAP.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="suppressDeclaration" type="mule:substitutableBoolean"/>

trimText
Type:
Use:
optional
Whether to trim white space in the XML.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="trimText" type="mule:substitutableBoolean"/>

XHTML
Type:
Use:
optional
Whether to use the XHTML standard, which is like HTML but passes an XML parser with real closed tags, and outputs CDATA sections with CDATA delimiters.
Attribute Value
xsd:string | xsd:boolean
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="XHTML" type="mule:substitutableBoolean"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.