Is there a specification of PCXML?
Since this old thread is a popular search result I'll post this here:
Background:
I believe PCXML is "PopChart XML" which was a code specification created for "PopChart", a data visualization product by Corda Technologies. Searching the internet for information on this subject is difficult because it's an older, out of business company, and "Pop Chart" is now a company that sells artwork. This original website is still accessible. Use the blue arrows in the top left to navigate to other pages (a retro experience for us early internet users)
https://www.karlrees.com/static/portfolio/corda/docs4/docs/pcis_users_guide/using_x3.htm
Structure:
The short description of PCXML Fields: XML is the parent for organizing/working with Alteryx, but then there is an interior section of <![CDATA[ that uses HTML/RTF style rules,
https://en.wikipedia.org/wiki/CDATA
Parsing:
- Your blue Layout fields can be viewed as PCXML text the same way green spatial fields can be viewed as GeoJSON text.
- If you're parsing a layout field to learn/edit: start by parsing the XML and finding the "<htmlpassthrough><![CDATA[" section and parsing that as HTML. This will get you 90% of the way there.
- A good reference for all the basics of HTML.
https://www.w3schools.com/html/default.asp
Editing:
- If you want to make edits to that PCXML text that comprise the Layout field, you can use regular Designer tools like the Formula tool,
- After you are finished editing the PCXML text, you can turn that back into a Layout field by using the Report Text tool in "Expert Mode".