Create simple XSD for an existing XML

已完成 已发布的 7 年前 货到付款
已完成 货到付款

This task should be very easy for someone experienced with XML/XSD (1 hour job)

If you're not professional in these technologies then please do not bid here

We need to build an XSD to describe a test scenario (Please check attached XML), it should define following structure:

1. Scenario has exactly 1 Name, 0 or 1 Description, and 1 Steps

2. Steps has 1 or more Step

3. Step as 1 Type, and 1 Parameters

4. Parameters has 1 or more Parameter

5. Parameter has 1 name, and 1 value OR 1 Parameters (as defined in 4, which should allow infinite levels of recursion) it cannot have both

The same XSD should be used to validate data as follows:

1. Step Type should be one of predefined values: openMenu, addNewRowToTabularScreen, ...

2. Parameter Name for all first level Parameters (those directly under Step) should depend on Type, for example:

- openMenu should have firstLevel, secondLevel, and isNewPage

- addNewRowToTabularScreen should have screenHeader, and rowValues

- rowValues has no restrictions (because it's not a first level Parameters element directly under Step)

The XSD should be very clean, as it will be extended later on

XML

项目ID: #10420765

关于项目

4个方案 远程项目 活跃的7 年前

授予:

Mkamal88

I have an Excellent Experience about XML, XHTML, HTML, HTML5, XSL1.0 & XSL2.0, XSLT, XSL-fo, XPath, XQuery, DTD, Schemes, LaTeX, JavaScript and C# programming

$25 USD 在1天内
(1条评论)
0.8

有4名威客正在参与此工作的竞标,均价$36/小时

vibhavbarnwal

Have extensive use with XML. As i work with integration of different partner APIs for hotels integration. They all have different xml structure, and which needs you to be very good with xml structures.

$25USD 在1天里
(0条评论)
0.0