| |
| Publicado el 06,agosto 2015 - 19:28 |
Hi I am filling an xml using the xsd
I get odd ordering of the nodes. Is this normal? and even a better question I guess : Does this matter ?. See picture
picture of xml debug
regards
Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 06,agosto 2015 - 20:39 |
Allard
Interesting question - unfortunately only you can answer it.
What is the intended purpose of the xml? What heirachy do you want it to have?
If you need it to reflect the xsd then create an empty xml doc with structure/nodes you require. Import this into your application and use this (as you might a structure) to fill the data. By using this you can see when you need to add a new node and at which level.
Looking at your images I would have expected... image 1: basics' to be a node of each 'ledger account' image 2: transactions' to be a node of each 'opening balance'
If you can provide an image of the empty xml doc structure, as above, I may be able to offer a better answer
Bit of a bummer that 'xmlnode' does not work in v18 as this would probably make life a lot easier. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,agosto 2015 - 10:54 |
Hi
Here is a link to the xsd: xsd
Here is a link to the corresponding xml that needs to be used: xml file
Both files are provided for me to use. If you could give me some insight into this then that would be great.
Maybe it does not matter what the order is. I donnot know? This is the first time I do a big xml like this.
regards
Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,agosto 2015 - 13:35 |
Allard
Ok I will download (subject to access to your account) and have a look.
I will need to install v18 on my dev machine but hope to come up with something over the weekend. I am assuming the content is in Dutch so that will be interesting.
I will PM you if I have any issues. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,agosto 2015 - 13:49 |
Hi DerekT
Thanks,
No it is English |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,agosto 2015 - 17:01 |
Allard
Apologies for the delay - got a bit side tracked here.
Good news... First, 'xmlNode' does work in WD v18
Second, I have put together a small project using the xml you provided. Done it as a sort of tutorial - just adding a raft of comments so you can understand what I have done.
Bad news is that I have not done it all and you will still have a lot to do. Quite a complex xml to build.
If you can PM me your email address I will get something off to you later today. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2015 - 15:12 |
Hi , sent you a pM
regards
Allard |
| |
| |
| | | |
|
| | |