0

Can any one help me in, creating the Python code for the below XML.Please copy it in to notepad

<?xml version="1.0" encoding="UTF-8"?>
-<TemplateBlock SchemaVersion="(3, 6, 0, 313)" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">-<Block ConstructorType="dstt_framework.DSTT_TestStep" IsCallerBlock="False" CollapsedState="False" EnableMode="True" Guid="u'{79DDB3BE-30F2-4CC4-AE65-C47A39390F34}'" ModifyTime="1409059399.51" CreationDate="1409059390.1270001" ResultLevel="1" ProtoType="''" DevelopmentNode="u''" LibraryDescription="u'To add a functional unit to the test sequence.'" Author="u't8187sa'" _CustomAttributes="{}" Description="u''" Name="u'TestStep'" xsi:type="TestFramework.TestStep"><DataObjects/>-<TestStepBody IsCallerBlock="False" CollapsedState="False" EnableMode="True" Guid="u'{1918A5AC-5763-4013-9AFE-1EA43A23E7FD}'" ModifyTime="1409059399.51" CreationDate="1301792640.0" ResultLevel="1" ProtoType="u''" DevelopmentNode="u''" LibraryDescription="u''" Author="'mdfsdfksdfjkdfnsdfsd'" _CustomAttributes="{}" Description="u''" Name="'TestStepBody'">-<TestStepConstants CollapsedState="False" ResultLevel="1" _CustomAttributes="{}" Description="u''" Name="'TestStepConstants'" OutDOB="False" InDOB="True" ReferenceName="u''"><DataObjects/><ParameterValueMapping Value="{}"/>-<ConditionToCheck ResultLevel="1" _CustomAttributes="{}" Description="u''" OutDOB="False" InDOB="True" ReferenceName="u''">-<Value ManualEditingString="u'0'" ManualEditing="1"><ConditionalObjects/></Value></ConditionToCheck></TestStepConstants>-<TestStepVariables CollapsedState="False" ResultLevel="1" _CustomAttributes="{}" Description="u''" Name="'TestStepVariables'" OutDOB="True" InDOB="True" ReferenceName="u''"><DataObjects/></TestStepVariables><NameInReport ResultLevel="1" _CustomAttributes="{}" Description="u''" Name="'NameInReport'" OutDOB="False" InDOB="True" ReferenceName="u''" Value="u''" ValuesOnly="False" Values="[]"/><DataObjects/><SubSystems/><GraphicalRepresentation CommentPosition="'[0,0]'" FlagVector="0" Color="0"/></TestStepBody><GraphicalRepresentation CommentPosition="'[0,0]'" FlagVector="0" Color="0"/></Block></TemplateBlock>

2
Contributors
1
Reply
15
Views
2 Years
Discussion Span
Last Post by Hiroshe
0

What you asked makes no sense.

You can have data encoded in XML. You can process data with a program written in Python, given that we have an objective.

Stringing togeather the words "Python" with a huge block of XML and asking it in the form of the question is nonsense. You can't "make a Python program for a peice of XML" without knowing what you actually want to do with it.

Votes + Comments
Be nice okay, he is a newbie confused, that's why he threw the question here
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.