|
next
|
 Subject: Duplicate Ouput on Repeating Element. Author: David Brandenburg Date: 31 Jul 2006 05:22 PM Originally Posted: 31 Jul 2006 05:19 PM
|
I have a element called category set minocurs=0 and maxocurs=3. When I use XLST I receive all values in the Xml document. Here is the XSLT code I am using. Any help would be appreciated.
<xsl:for-each select="a:jobs/a:job/a:category">
<a:category>
<xsl:value-of select="."/>
</a:category>
and the XML fragment.
<job>
<!-- Identity -->
<job-id>otj.221</job-id>
<managed-by-board>OTJ</managed-by-board>
<employer-id>221</employer-id>
<employer-job-id>HOUCONT</employer-job-id>
<date-posted>7-25-2006</date-posted>
<!-- Job description -->
<title>Commercial Contracts Managers</title>
<category>Consulting</category>
<category>Operations</category>
<industry></industry>
<tagline html="false">We are seeking experienced Commercial Contracts Managers who are knowledgeable in all phases of</tagline>
<description html="true"><![CDATA[ We are seeking experienced Commercial Contracts Managers who are knowledgeable in all phases of Contracts Management for contracts dealing with services. Must have the ability to execute global contracts for intellectual property &amp;amp; specialized licensing arrangements, and/or contracts for major construction projects. Applicants must be able to develop contracting strategies, develop contract documents, negotiate legal and commercial terms and conditions, ensure contract compliance and contract administration. Must understand and has negotiated many contract pricing structures to meet specific strategies. ]]></description>
<requirements html="true"><![CDATA[ Those qualified will have: • Oil and Gas industry with exposure to drilling and supply contracts is a plus • Thorough knowledge and understanding of good commercial practices and contract law and a proven ability to operate locally and internationally • Demonstrate competence in the use of Microsoft Office tools (PowerPoint, Excel, Word, Access, and Project). • SAP experience is a plus Qualifications: • BS/BA in Business (MBA preferred) • Minimum 10 years experience in contract management • Self-initiative and strong sense of urgency. • Strong interpersonal skills, with the ability to work well in a team environment. • Excellent computer skills. We offer competitive compensation and benefits including health/dental, 401K and more. ]]></requirements>
<benefits html="true">
</benefits>
<minimum-education>Bachelors Degree</minimum-education>
<minimum-years-experience></minimum-years-experience>
<career-level>Unspecified</career-level>
<status-full-time>true</status-full-time>
<status-part-time>false</status-part-time>
<status-permanent>false</status-permanent>
<status-temporary>false</status-temporary>
<status-contract>false</status-contract>
<status-consultant>false</status-consultant>
<status-apprenticeship>false</status-apprenticeship>
<status-internship>false</status-internship>
<status-volunteer>false</status-volunteer>
<!-- Location -->
<confidential-location>false</confidential-location>
<location>
<region-id>usa.tx.houston</region-id>
<city>Houston</city>
<state>TX</state>
<country>USA</country>
<zip>77056</zip>
</location>
<!-- Contact Info -->
<confidential-employer>false</confidential-employer>
<employer-name>Resources Global</employer-name>
<employer-tagline></employer-tagline>
<employer-contact-name>Michelle Barrett</employer-contact-name>
<employer-address>2700 Post Oak Blvd</employer-address>
<employer-city>Houston</employer-city>
<employer-state>TX</employer-state>
<employer-country>USA</employer-country>
<employer-zip>77056</employer-zip>
<employer-phone>713 402-3640</employer-phone>
<employer-fax></employer-fax>
<employer-web></employer-web>
<employer-email>mbarrett@resources-us.com</employer-email>
<employer-email2></employer-email2>
<external-job-url></external-job-url>
<internal-job-url>http://jobseeker.ontargetjobs.com/Public/JobDetails.aspx?JOB_ID=221</internal-job-url>
<internal-apply-url>http://jobseeker.ontargetjobs.com/Protected/applyforjob.aspx?JOB_ID=221</internal-apply-url>
</job>
and the output.
<?xml version="1.0"?>
<a:jobs xmlns:a="http://www.ontargetjobs.com/">
<a:job>
<a:job-id>otj.221</a:job-id>
<a:managed-by-board>ontargetjobs.com</a:managed-by-board>
<a:employer-id>221</a:employer-id>
<a:employer-job-id>HOUCONT</a:employer-job-id>
<a:date-posted>7-25-2006</a:date-posted>
<a:title>Commercial Contracts Managers</a:title>
<a:category>Consulting</a:category>
<a:category>Operations</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Other</a:category>
<a:category>Administration</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Government</a:category>
<a:category>Human Resources</a:category>
<a:category>Other</a:category>
<a:category>Administration</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Sales</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Government</a:category>
<a:category>Academic</a:category>
<a:category>Administration</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Other</a:category>
<a:category>Administration</a:category>
<a:category>Other</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Administration</a:category>
<a:category>Sales</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Administration</a:category>
<a:category>Transportation / Logistics</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Technology</a:category>
<a:category>Technology</a:category>
<a:category>Other</a:category>
<a:category>Sales</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Consulting</a:category>
<a:category>Sales</a:category>
<a:category>Technology</a:category>
<a:category>Sales</a:category>
<a:category>Other</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Government</a:category>
<a:category>Other</a:category>
<a:category>Administration</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Other</a:category>
<a:category>Administration</a:category>
<a:category>Legal</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Academic</a:category>
<a:category>Administration</a:category>
<a:category>Operations</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Other</a:category>
<a:category>Sales</a:category>
<a:category>Consulting</a:category>
<a:category>Quality Assurance</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Technology</a:category>
<a:category>Sales</a:category>
<a:category>Academic</a:category>
<a:category>Technology</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Academic</a:category>
<a:category>Administration</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Operations</a:category>
<a:category>Government</a:category>
<a:category>Technology</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Academic</a:category>
<a:category>Administration</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Technology</a:category>
<a:category>Operations</a:category>
<a:category>Other</a:category>
<a:category>Transportation / Logistics</a:category>
<a:category>Administration</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Human Resources</a:category>
<a:category>Other</a:category>
<a:category>Other</a:category>
<a:category>Technology</a:category>
<a:category>Sales</a:category>
<a:category>Other</a:category>
<a:category>Transportation / Logistics</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Sales</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Technology</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Administration</a:category>
<a:category>Human Resources</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Sales</a:category>
<a:category>Operations</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Transportation / Logistics</a:category>
<a:category>Sales</a:category>
<a:category>Consulting</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Other</a:category>
<a:category>Publishing/Internet</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Operations</a:category>
<a:category>Legal</a:category>
<a:category>Other</a:category>
<a:category>Academic</a:category>
<a:category>Administration</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Other</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Operations</a:category>
<a:category>Sales</a:category>
<a:category>Sales</a:category>
<a:category>Administration</a:category>
<a:category>Human Resources</a:category>
<a:category>Administration</a:category>
<a:category>Other</a:category>
<a:category>Operations</a:category>
<a:category>Other</a:category>
<a:category>Advertising/Marketing/PR</a:category>
<a:category>Academic</a:category>
<a:category>Operations</a:category>
<a:category>Other</a:category>
<a:opening-count></a:opening-count>
<a:tagline>We are seeking experienced Commercial Contracts Managers who are knowledgeable in all phases of</a:tagline>
<a:description>We are seeking experienced Commercial Contracts Managers who are knowledgeable in all phases of Contracts Management for contracts dealing with services. Must have the ability to execute global contracts for intellectual property &amp;amp;amp; specialized licensing arrangements, and/or contracts for major construction projects. Applicants must be able to develop contracting strategies, develop contract documents, negotiate legal and commercial terms and conditions, ensure contract compliance and contract administration. Must understand and has negotiated many contract pricing structures to meet specific strategies.</a:description>
<a:career-level/>
</a:job>
</a:jobs>
|
|
|