Xml class

Namespace: CodeEffects.Rule.Common
Assembly: CodeEffects.Rule.dll

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.

Comments: 0
Post your questions about Code Effects on Stackoverflow.com
and become a part of our growing community
Name (optional):
Comment (URLs are allowed and must start with http:// or https://; all tags will be encoded):
Remaining character count: