Navigation

Categories
Show Navigation Next Topic  »

Xml class

Namespace: CodeEffects.Rule.Common

Syntax

public static class Xml

Provides supportive values and functionality.

Properties

  • RuleNamespace Type: System.String

    Gets the location of the Rule XML schema and defines the rule namespace for the current version of Code Effects.

  • SourceNamespace Type: System.String

    Gets the location of the Source XML schema and defines the source namespace for the current version of Code Effects.

  • UiNamespace Type: System.String

    Gets the URL of the location of the XML schema and namespace for certain supporting attributes used by the rule schema in the current version of Code Effects.

Methods

  • GetEmptyRuleDocument() Returns: System.Xml.XmlDocument

    Returns an empty XmlDocument that contains only the root <codeeffects> node. Use this document as a starting point if you intend to store all or some of your rules in a single ruleset.

  • IsRuleValid(System.Xml.XmlDocument) Returns: System.Boolean
    Parameters:
    • ruleXml, System.Xml.XmlDocument - Rule XML document.

    Validates the Rule XML against its schema. Returns True if the validation failed, otherwise, returns False.


Post your questions on Stackoverflow and become a part of our growing community

Comments: 0