Note that there are some explanatory texts on larger screens.

plurals
  1. POANT ANTForm XSL - Cheat Sheet
    primarykey
    data
    text
    <p>In another question - <a href="https://stackoverflow.com/questions/3530181/getting-directory-listing-from-svn-for-use-in-ant-dropdown/3546043#3546043">Getting directory listing from SVN for use in ANT dropdown</a></p> <p>I asked about how I can connect SVN up to my ANT scripts directly. The answer I got was really good and follows the lines of exporting a directory listing from SVN as XML and then using XSL to build the form.</p> <p>I've no experience with XSL so I was wondering if anyone who has might be able to give me any pointers? More specifically with building forms in ANTForms through XSL. Their website doesn't seem to mention anything about using it and I can't find anything on Google.</p> <p>Additional Info...</p> <p>Here's a small sample of the XML I'm getting back from SVN.</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;lists&gt; &lt;list path="https://example.com/svn/website/tags"&gt; &lt;entry kind="dir"&gt; &lt;name&gt;archive&lt;/name&gt; &lt;commit revision="1337"&gt; &lt;author&gt;itncj&lt;/author&gt; &lt;date&gt;2010-02-17T12:21:22.342500Z&lt;/date&gt; &lt;/commit&gt; &lt;/entry&gt; &lt;entry kind="dir"&gt; &lt;name&gt;milestone 1-0-0&lt;/name&gt; &lt;commit revision="1302"&gt; &lt;author&gt;jcb4337&lt;/author&gt; &lt;date&gt;2010-02-12T10:15:00.282625Z&lt;/date&gt; &lt;/commit&gt; &lt;/entry&gt; &lt;entry kind="dir"&gt; &lt;name&gt;milestone 1-0-0b&lt;/name&gt; &lt;commit revision="1329"&gt; &lt;author&gt;itncj&lt;/author&gt; &lt;date&gt;2010-02-17T12:08:56.248750Z&lt;/date&gt; &lt;/commit&gt; &lt;/entry&gt; &lt;/list&gt; </code></pre> <p></p> <p>All I'm needing from this is the name nodes so I can build a form of the following structure - </p> <ul> <li>SOME TITLE LABEL</li> <li>LABEL | TEXTFIELD</li> <li>SVN CALL1 NAMES IN A DROPDOWN</li> <li>SVN CALL2 NAMES IN A DROPDOWN</li> <li>SVN CALL3 NAMES IN A DROPDOWN</li> <li>YES / NO &lt;- Radio button - For releasing the core files of our applications framework</li> <li>SVN CALL4 NAMES IN A DROPDOWN &lt;- Which version of the core</li> <li>Test / Production /> &lt;- Radio Button - the environment we're wanting to release to</li> <li>PASSWORD TEXTFIELD</li> <li>DEPLOY BUTTON</li> <li>CANCEL BUTTON</li> </ul> <p>Hope that makes sense but what I'm needing to do is make x4 SVN calls, one for each repository which holds our projects files ( the main project files, associated components, plugins &amp; core ) and populate these dropdowns using ANTForm's selectionProperty (<a href="http://antforms.sourceforge.net/usageaf.html" rel="nofollow noreferrer">http://antforms.sourceforge.net/usageaf.html</a>).</p> <p>There is more I need to do beyond that (like append "Trunk" to the start of each dropdown) but one step at a I time.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload