[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Constraints on the elements in a nested XML tree?
On 23 January 2018 at 22:54, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks, You have missed the main defining properties of a tree each node only has one parent (this one means you don't need your second constraint) the tree is connected with a unique ancestor But the constraints can (mostly) only validate the result, you are going to need a lot more than that to specify how to assemble and that assembly specification will presumably produce a tree without needing these constraints? that is if you have a b c then the possible trees are a-b-c /b a \cthen the 6 permutations of a,b,c so 12 possibilities But any specification which tells your machine which of the 12 possibilities to build probably doesn't need to check the constraints if it just arranges to always build a tree,.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|