Skip to main content
Grammer
Source Link
ahjmorton
  • 671
  • 4
  • 10

It depends on how you're using the XML.

For example if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

However if you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It also depends on the relationship you have with the person sending you the XML : if you're receiving XML from a party you need to be formal with (e.g. another business) party then having XML schemas allows you to establish a contract about what you will accept as input and give as output.

On the other hand if you have an informal relationship with then you can be generous with what you will accept / reject.

It depends on how you're using the XML.

For example if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

However if you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It also depends on the relationship you have with the person sending you the XML : if you're receiving XML from a party you need to be formal with (e.g. another business) party then having XML schemas allows you to establish a contract about what you will accept as input and give as output.

On the other hand if you have an informal relationship with then you can be generous with what you will accept / reject.

It depends on how you're using the XML.

For example if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

However if you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It also depends on the relationship you have with the person sending you the XML : if you're receiving XML from a party you need to be formal with (e.g. another business) then having XML schemas allows you to establish a contract about what you will accept as input and give as output.

On the other hand if you have an informal relationship with then you can be generous with what you will accept / reject.

Expansion of ideas
Source Link
ahjmorton
  • 671
  • 4
  • 10

It depends on how you're using the XML,.

For example if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

IfHowever if you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It also depends on the relationship you have with the person sending you the XML : if you're receiving XML from a party you need to be formal with (e.g. another business) party then having XML schemas allows you to establish a contract about what you will accept as input and give as output.

On the other hand if you have an informal relationship with then you can be generous with what you will accept / reject.

It depends on how you're using the XML, if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

If you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It depends on how you're using the XML.

For example if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

However if you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.

It also depends on the relationship you have with the person sending you the XML : if you're receiving XML from a party you need to be formal with (e.g. another business) party then having XML schemas allows you to establish a contract about what you will accept as input and give as output.

On the other hand if you have an informal relationship with then you can be generous with what you will accept / reject.

Source Link
ahjmorton
  • 671
  • 4
  • 10

It depends on how you're using the XML, if you wish to pick out one or two pieces of data out the XML then move on then it would be best just to extract them and move on.

If you need the whole XML document, so for example you want to transform it to some other XML format that needs all the fields, then I would get a schema involved.