I need to create validation file (DTD or Schema or whatever) for the following XML: \[code\]<?xml version="1.0" encoding="UTF-8"?><Result> <StatusCode>1</StatusCode> <StatusMessage> <SSPReturnMessage> <S>false</S> <Date>23-Jan-2013 14:33</Date> <EL> <E EC="473"> <ES><![CDATA[Error message]]></ES> </E> </EL> </SSPReturnMessage> </StatusMessage> <Data> <LocalPort>-1</LocalPort> <TunnelID></TunnelID> </Data></Result> \[/code\]The Data tag is optinal and the tags inside can be anything (any tag name).
The question is how to do that and which technology to use? DTD or Schema? or even somthing else?
The question is how to do that and which technology to use? DTD or Schema? or even somthing else?