Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
XMLTools[Validate] - validate an XML document against a DTD
Calling Sequence
Validate(xmlDoc, opts)
Parameters
xmlDoc
-
Maple XML tree; XML element to validate
opts
equation(s) of the form option=value where option is one of dtd or schema; specify validation options
Description
The Validate(xmlDoc) command validates an XML element xmlDoc (typically the root element of an XML document). If xmlDoc is determined to be valid according to the specified DTD/schema, then Validate returns true. Otherwise, Validate returns an error containing a description of problems found in the document.
The opts argument must be one of the following.
dtd=location
Specifies the location of the DTD to be used.
schema=location
Specifies the target no namespace XML Schema Location. If present, xmlDoc's own noNamespaceSchemaLocation attribute is effectively ignored.
Note: If neither the dtd option nor the schema option is present, then xmlDoc is checked for well-formedness only.
Examples
See Also
XMLTools, XMLTools[ParseFile], XMLTools[ParseString]
Download Help Document