Change Xml values

Post Reply
sodslaw
Newbie
Posts: 2
Joined: Sun Apr 17, 2016 11:51 am

Change Xml values

Post by sodslaw »

In an xml how would I go about reversing the width and height values within a flow in switch?

I take I would need a script of some sort to achieve this?

Any takers to show me how I could incorporate into a flow in switch would be much appreciated

Cheers
Sod
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Change Xml values

Post by gabrielp »

sodslaw wrote:In an xml how would I go about reversing the width and height values within a flow in switch?
Why do you need to reverse the values?

There are several solutions to this, depending on what you want to do:
- If the dataset is writable, you could overwrite the dataset values
- Write the values to private data (if you can't script, use metatagger in appstore), then just overwrite them in private data as needed
- Route your flow logic so you don't need to overwrite values
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
sodslaw
Newbie
Posts: 2
Joined: Sun Apr 17, 2016 11:51 am

Re: Change Xml values

Post by sodslaw »

Thanks for your help - will look into your suggestions

Sod
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Change Xml values

Post by gabrielp »

sodslaw wrote:Thanks for your help - will look into your suggestions
No problem. If you get stuck and can be more specific, I can give you a more specific answer. Good luck 8-)
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply