on 02-06-2008 7:50 AM
hello
I would like to know if it is possible to add a subelement to the root, so all the rest subelemtns of the the root will be now under the new one?
for example:
this is what I wrote
<header>
<line_1>
<line_2>
and I would like not the Data Type to be:
<header>
<line>
<line_1>
<line_2>
Thanks
Kfir
thanks you for your help.
I was able to do it, but importing edited XSD.
I added to the XSD element, complex type and sequence.
verified the XSD is valid, import the new file and the new tree was displayed.
Kfir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not sure if there is a direct way for this. You could, however, export the xsd, perform the necessary changes and then re-import it into XI.
You can export and import XSD from Tools option in menu bar.
Thanks,
Bhavish
Award points if comments helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kfir,
There is sno direct way to achieve this, Add the new subelement under the Header and copy paste one by one under this new element.
- Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think there is a direct way without recreating the entries manually
A workaround may be to export the xsd, edit it manully (u only have to add one element, one sequence and one complex tags) and then reimport it.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it is possible to add it....
Add the root node to the existing root node Header....and rename header LINE and Root node name to HEADER...try this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.