Convert xml into simple file using xslt unix
<p>I am having one xml file (test.xml) looks like this: </p>

<pre><code>&lt;hudson&gt;
&lt;job&gt;
&lt;name&gt;cedge&lt;/name&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;techM&lt;/name&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;infy&lt;/name&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;DevP&lt;/name&gt; 
&lt;job&gt;
&lt;name&gt;line&lt;/name&gt; 
&lt;nextBuildNumber&gt;14&lt;/nextBuildNumber&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;ment&lt;/name&gt; 
&lt;nextBuildNumber&gt;85&lt;/nextBuildNumber&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;FreeS&lt;/name&gt; 
&lt;nextBuildNumber&gt;96&lt;/nextBuildNumber&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;test&lt;/name&gt; 
&lt;/job&gt;
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;Email&lt;/name&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;investigate&lt;/name&gt; 
&lt;nextBuildNumber&gt;26&lt;/nextBuildNumber&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;Java&lt;/name&gt; 
&lt;/job&gt;
&lt;job&gt;
&lt;name&gt;Tools&lt;/name&gt; 
&lt;/job&gt;
&lt;/hudson&gt;
</code></pre>

<p>need output file like:</p>

<pre><code>"line" "14"
"ment" "85"
"FreeS" "96"
"investigate" "26"
</code></pre>

<p>trying with below approch </p>

<pre><code> xsltproc x.xslt test.xml 
</code></pre>

<p>made x.xslt like this:</p>

<pre><code> &lt;xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
 &lt;xsl:template match="//job"&gt;
"&lt;xsl:value-of select="name"/&gt;" = "&lt;xsl:value-of select="nextBuildNumber"/&gt;"
 &lt;/xsl:template&gt;
 &lt;/xsl:stylesheet&gt;
</code></pre>

<p>getting only </p>

<pre><code> "investigate" = "26"
</code></pre>

<p>along with blank values. Not getting data from "job-Devp" tags
any help would be appriciated.</p>