I need to find the way of defining lines using topology representation. Now i have something similar to it:
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Points>
<Point>
<UIDP>1</UIDP>
<X>5379847.689</X>
<Y>1223602.644</Y>
<MX>0.05</MX>
<MY>0.05</MY>
</Point>
<Point>
<UIDP>2</UIDP>
<X>5379828.473</X>
<Y>1223606.113</Y>
<MX>0.05</MX>
<MY>0.05</MY>
</Point>
</Points>
<Lines>
<Line>
<Point>1</Point>/>
<Point>2</Point>/>
</Line>
</Lines>
</Root>
Where Line/Point is the value of point unique id(UIDP).
Questions
- Is there any way to make it more clearly, get not only ID but hole point definition using references or something similar?
- How to make it using XLink or XPointer?
- How to define it in XSD Schema 1.1?
I didn't find how to make it though XLink or XPointer but uderstand how to define part of rules via XSD.
Rules defined by schema: