Click here to Skip to main content
15,888,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I am having an XML file containing many Squares under shapes

XML
<Shapes>
<Square>
    <Vertex x="14897.5924" y="11950.9914" z="7200" />
    <Vertex x="14890.3926" y="11902.4548" z="7200" />
    <Vertex x="14878.4702" y="11854.8577" z="7200" />
    <Vertex x="14861.9398" y="11808.6583" z="7200" />
</Square>
<Square>

</Square>
      <Vertex x="14786.5052" y="12317.1966" z="7200" />
      <Vertex x="14815.7348" y="12277.7851" z="7200" />
      <Vertex x="14840.9606" y="12235.6984" z="7200" />
      <Vertex x="14861.9398" y="12191.3417" z="7200" />
<Square>

      <Vertex x="14890.3926" y="11902.4548" z="7200" />
      <Vertex x="14878.4702" y="11854.8577" z="7200" />
      <Vertex x="14861.9398" y="11808.6583" z="7200" />
      <Vertex x="14840.9606" y="11764.3016" z="7200" />

</Square>
</Shapes>



My problem is that I want to add the X, Y and Z values to
respective Squares referred by Id using Structs

How to do so
Posted

1 solution

Just Googling you may find many tutorials[^] on the argument.
 
Share this answer
 
Comments
KUMAR619 19-Mar-14 9:07am    
You're right but I don't have any idea about this.
Can you get me a little idea for my problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900