Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

i Have a xml file with a position tag that describes a latitude

longitude and altitude point which looks like this:

HTML
<position>25.41 60.84 230 </position>


How do i write an XSD element that describes this tag?

Thanks!

dj4400

What I have tried:

I cant change the original xml tag to 3 separate tags
Posted
Updated 1-Jan-20 23:36pm
v3

1 solution

See XML Schema Simple Elements[^]. You can only declare it as a string and then parse it into its separate parts in your run time application.
 
Share this answer
 

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