What's new in Customer Journeys?

Connect and learn more!
How to handle xml strings in Customer Portal code? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to handle xml strings in Customer Portal code?

Accepted answer


I am creating a widget that checks the XML of an article if a certain field from the content-schema is filled and what it's value is. I do however have problems dealing with the content-xml.

Normally in PHP you can use the SimpleXML class to handle a XML-field, but if I try to use this class I get errors stating it is not part of the class I am working from.

Can anyone tell me how to solve this?

Content (required):

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!