<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=GetXmlPropertyViaUploadField</id>
	<title>GetXmlPropertyViaUploadField - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=GetXmlPropertyViaUploadField"/>
	<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=GetXmlPropertyViaUploadField&amp;action=history"/>
	<updated>2026-04-03T23:09:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=GetXmlPropertyViaUploadField&amp;diff=123&amp;oldid=prev</id>
		<title>Smtxwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=GetXmlPropertyViaUploadField&amp;diff=123&amp;oldid=prev"/>
		<updated>2020-05-25T20:44:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 25 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=GetXmlPropertyViaUploadField&amp;diff=122&amp;oldid=prev</id>
		<title>Smtxwiki at 10:53, 24 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=GetXmlPropertyViaUploadField&amp;diff=122&amp;oldid=prev"/>
		<updated>2018-04-24T10:53:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to get an XML property from an XML file uploaded via an upload field we have to take some steps:&lt;br /&gt;
&lt;br /&gt;
1. Add an upload field, with internal name for example &amp;#039;fuXml&amp;#039;&lt;br /&gt;
&lt;br /&gt;
2. Add a read only display field (which you can hide afterwards), with internal name for example &amp;#039;roXmlLocation&amp;#039;. In this field we will extract the link from the uploaded file, so without the &amp;lt;a href...&amp;gt;..&amp;lt;/a&amp;gt;&lt;br /&gt;
   Use as dynamic value this calculation:&lt;br /&gt;
   GetXmlProperty(&amp;#039;#REPLACE-FORMFIELD-UploadXmlTest||fuXml||#&amp;#039;, &amp;#039;/A/@HREF&amp;#039;)&lt;br /&gt;
3. Add a text field (or any other type) where you&amp;#039;ll put the xml property in.&lt;br /&gt;
   Use as dynamic value this calculation:&lt;br /&gt;
   &amp;lt;nowiki&amp;gt;IIF(IsValidPath(&amp;#039;#REPLACE-FORMFIELD-UploadXmlTest||roXmlLocation||#&amp;#039;), GetXmlPropertyFromPath(&amp;#039;#REPLACE-FORMFIELD-UploadXmlTest||roXmlLocation||#&amp;#039;, &amp;#039;/bookstore/book[1]/title/text()&amp;#039;), &amp;#039;&amp;#039;)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example form: http://dev.ssp7.smt-x.com/Forms/form.aspx?adminmode=1&amp;amp;id=502&lt;/div&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
</feed>