From OpenSCADAWiki
Jump to: navigation, search

Options of the function of XML-file generation (enum - XMLNode::SaveView):

  • XMLNode::BrOpenPrev (0x01) — break before the open tag;
  • XMLNode::BrOpenPast (0x02) — break after the open tag;
  • XMLNode::BrClosePast (0x04) — break after the close tag;
  • XMLNode::BrTextPast (0x08) — break after the text;
  • XMLNode::BrSpecBlkPast (0x10) — break after the special block;
  • XMLNode::BrAllPast (0x1E) — break after all;
  • XMLNode::XMLHeader (0x20) — include standard XML header;
  • XMLNode::XHTMLHeader (0x40) — include standard XHTML header;
  • XMLNode::Clean (0x80) — clean the service tags: <??>, <!-- -->;
  • XMLNode::MissTagEnc (0x100) — omit for tag's name encoding;
  • XMLNode::MissAttrEnc (0x200) — omit for attribute's name encoding;
  • XMLNode::BinShield (0x400) — shield the binary symbols [\x0-\x8\xB-\xC\x0E-\x1F] and wrong UTF-8;
  • XMLNode::HoldEmptyAttr (0x800) — hold empty attributes, mostly as the sign in the pure HTML.