Skip to content

Commit cdb1f32

Browse files
committed
issue_7: Move Xml.Validate examples to the bottom of Task description
1 parent a9c9967 commit cdb1f32

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,19 @@ Validate XML against XML Schema Definitions.
125125
| Xml | string | XML to validate |
126126
| XsdSchemas | string[] | List of XML Schema Definitions |
127127

128+
#### Options
129+
130+
| Property | Type | Description |
131+
|--------------------------|------------------|--------------------------------------|
132+
| ThrowOnValidationErrors | bool | Throw exception on validation error. |
133+
134+
#### Result
135+
136+
| Property | Type | Description |
137+
|------------|--------|--------------------------|
138+
| IsValid | bool | Is the Xml valid or not |
139+
| Error | string | Validation error message |
140+
128141
Example input Xml:
129142
```xml
130143
<?xml version="1.0"?>
@@ -188,19 +201,6 @@ IsValid: false
188201
Error: The 'publish_date' element is invalid - The value '2002-09-24-9:00' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:date' - The string '2002-09-24-9:00' is not a valid Date value.
189202
```
190203
191-
#### Options
192-
193-
| Property | Type | Description |
194-
|--------------------------|------------------|--------------------------------------|
195-
| ThrowOnValidationErrors | bool | Throw exception on validation error. |
196-
197-
#### Result
198-
199-
| Property | Type | Description |
200-
|------------|--------|--------------------------|
201-
| IsValid | bool | Is the Xml valid or not |
202-
| Error | string | Validation error message |
203-
204204
### Xml.ConvertJsonToXml
205205
206206
This task takes JSON text and deserializes it into an xml text.

0 commit comments

Comments
 (0)