IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Adding a root element to an existing .sps Options · View
kurent
Posted: Friday, October 23, 2009 11:40:55 AM
Rank: Advanced Member

Joined: 10/2/2009
Posts: 62
Location: Slovenia
I have a bunch of .sps made with a working XML. But now the root element was encapsulated into a new root element.

For example:

The old XML:
<element2>
// content of element2
</element2>

The new XML:
<element1>
<element2>
// content of element2
</element2>
<element3>
// content of element23
</element3>
</element1>

So now of course I need to add this new root element for each content on the document. Is there a simple way of doing this or do I have to drag and drop each content again?
vlad
Posted: Friday, October 23, 2009 11:44:21 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
The upcoming version v2010 (available later this year) will have a "Enclose with Template" command. In the current version I would drag & drop the root element and then move your current context again by drag & drop inside.
kurent
Posted: Friday, October 23, 2009 11:55:00 AM
Rank: Advanced Member

Joined: 10/2/2009
Posts: 62
Location: Slovenia
Damn...oh the horror that awaits me.

Thanks for the quick response.

Btw do you need any beta testers? :)
vlad
Posted: Friday, October 30, 2009 1:59:12 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
v2010 has been released now
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.