Jump to content

Regarding twin/triple siblings in XML


mpsn

Recommended Posts

Hi, I am converting XML to DB and was wondering is it bad XML structure to have twin siblings (or triplets or identical siblings in general), what I mean is:

 

eg:

<email>

  <to>

  <toFirstName>John</toFirstName>

  <toLastName type="common">Smith</toLastName>

  </to>

  <to>

  <toFirstName>Jack</toFirstName>

  <toLastName type="unique">Dravisone</toLastName>

</to>

</email>

 

Any help much appreciated!

Link to comment
https://forums.phpfreaks.com/topic/251080-regarding-twintriple-siblings-in-xml/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.