<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/discussions/f/general/38852/leveraging-the-xpath-parsing-and-xml-handling-in-appian</link><description>Team, want to check on these 2 aspects, which we are attempting to leverage in our Appian solution implementation. 
 
 1) We are building a solution to retrieve specific data using XPATH from an XML and mapping it to a target location. 
 We will be using</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146955?ContentTypeID=1</link><pubDate>Sun, 06 Apr 2025 08:05:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:facc354d-521b-4f71-b6e4-1bbf2673811f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;First, I try to understand what my users want to achieve using Excel, and discuss whether there is an alternative. For some use cases, Excel is THE&amp;nbsp;tool users need. Most of the time, Excel is just the only tools users had, got used to, and don&amp;#39;t want to let it go anymore.&lt;/p&gt;
&lt;p&gt;Then,&amp;nbsp;we could expose that data via an API, and let users import data directly into Excel.&lt;/p&gt;
&lt;p&gt;Or go with Process HQ and just let users do their own reporting and dashboarding, including Excel export.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146943?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 20:48:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e84301b-4a56-49c1-8d14-8d69e39b58f2</guid><dc:creator>padmanabant852500</dc:creator><description>&lt;p&gt;Thanks for your inputs. I do really value it.&lt;/p&gt;
&lt;p&gt;What would be your approach with the use case, if we have to give the business users the option of configuring the mapping to the excel based on the source data.&lt;/p&gt;
&lt;p&gt;Is there any other way, Appian provides other than this XPATH, XML strategy? I know JSONPATH would be another way, so that you eliminate XPATH.&lt;/p&gt;
&lt;p&gt;But other then these 2, do you see any way that we are overseeing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146940?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 19:04:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb1fbffe-262d-4f4a-83d6-7392bcd00c22</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not a fan of any use case that involves Excel, but sometimes it is what has to be done. So if, for whatever reason, your business users need to map some data to Excel exports, I think this is a reasonable approach. Personally I would not go the xPath route, but when you and your users are happy with it, it&amp;#39;s the right way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146935?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 15:46:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:276563cf-6cd9-4049-883c-2558967c25e9</guid><dc:creator>padmanabant852500</dc:creator><description>&lt;p&gt;Question - Do you like this though?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The way we intending to keep the Appian code agnostic and dynamic.&lt;/p&gt;
&lt;p&gt;So a business user controls the mapping&amp;nbsp;for any different kind of templates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146933?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 14:50:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49bb2c03-6455-4aa3-8925-e2544922f4bd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This sounds crazy ;-)&lt;/p&gt;
&lt;p&gt;I understand your user case. Thanks for the explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146932?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 14:30:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf9d37a3-a0d9-42b7-b75d-d678a07297f5</guid><dc:creator>padmanabant852500</dc:creator><description>&lt;p&gt;This&amp;nbsp;is where we exactly started with&amp;nbsp;-&amp;nbsp;Like converting json to dictionary object and writing to an excel template from there.&lt;/p&gt;
&lt;p&gt;But we wanted the ability to provide a user driven configuration so that our business users&amp;nbsp;decides&amp;nbsp;the mapping of source and target data points.&lt;/p&gt;
&lt;p&gt;We are&amp;nbsp;implementing an excel writing ability&amp;nbsp;- where the data from source gets mapped to different cells of an excel template (in&amp;nbsp;multiple sheets). These excel templates could change and we want business to have the ability to drive the source (json or xml) data points and target excel cell where it should go.&lt;/p&gt;
&lt;p&gt;So we extracted the ability to manage the source (xpath data points) and target (cells) to go into a Appian table which business can maintain.&lt;/p&gt;
&lt;p&gt;So the Appian code to write to excel template will be agnostic and will just pick and write the data from the driver table and maps the data to the excel cells based on the configuration.&lt;/p&gt;
&lt;p&gt;In this case - business world understands XML XPATH better so that they configure or make the changes by themselves in a table.&lt;/p&gt;
&lt;p&gt;Doesn&amp;#39;t this sound little interesting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146929?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 13:25:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a8eed84-227e-4453-90e9-80fe28679039</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Help me understand your use case. If it is just about mapping data from incoming data to use somewhere in Appian, you will not need any sophisticated XML parsing. And if the incoming data is JSON, stay with JSON. Use fromJson() to parse it into a dictionary and you can easily work with it using normal Appian code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146928?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 13:21:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:172c9741-14f7-4431-85c8-2bb41b7e50e0</guid><dc:creator>padmanabant852500</dc:creator><description>&lt;p&gt;Thanks for answering the first question.&lt;/p&gt;
&lt;p&gt;I personally&amp;nbsp;had some past experiences that&amp;nbsp;XPATH 2 or 3 -&amp;nbsp; had little more ability and readability to&amp;nbsp;fetch and parse values from a XML rather&amp;nbsp; what JSONPATH could do with JSON. Could be a personal perspective too. But with JSON path evolving, it too can overcome XPATH sooner.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So we went with XPATH in case we will get a chance to leverage the latest version of XPATH parsers available&amp;nbsp;in case from Appian.&lt;/p&gt;
&lt;p&gt;Let me see how we can raise a Product improvement request on this. We may not keep using the XPATH strategy as a policy decision in future implementations. But I thought it would be powerful had Appian supported the latest XPATH parsing versions.&lt;/p&gt;
&lt;p&gt;Its great to interact with you. Appreciate your insights.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging the XPATH parsing and XML handling in Appian</title><link>https://community.appian.com/thread/146915?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 06:48:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92c1486b-4724-41fd-89bd-df31c5c725cd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;1) Who knows ... I am sure this is somewhere on the list of improvements we are all waiting for. If you can turn this into a valuable business case, then contact Appian for a product improvement.&lt;/p&gt;
&lt;p&gt;2) Why not just stay with JSON? Adding XML to the game does not make sense from my perspective, not knowing the details of your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>