[namespace][prefix]

wxdqz

New Member
Could anyone help me with this please!
I am totally new to XML..!

I got a table:
Name Job Department Cubicle
-----------------------------------------------------
Joe Programmer Engineering 5E
Erin Designer Marketing 9M
Melissa Desginer H/R 8H

Write in XML:
<staff>

<emp>
<name>Joe</name>
<position>Programmer</position>
<dept>Engineering</dept>
<workspace>5E</workspace>
</emp>
<emp>
<name>Erin</name>
<position>Designer</position>
<dept>Marketing</dept>
<workspace>9M</workspace>
</emp>
<emp>
<name>Melissa</name>
<position>Designer</position>
<dept>Human Resources</dept>
<workspace>8H</workspace>
</emp>

</staff>

Now, the question is
Modify the solution above so that it should not have the job as either
an element or an attribute.

How would i do that, PLEASE!

Thanks,
 
Back
Top