php - how to view xml data with bullet and special character -


i need display following content in xml file.

<?xml version="1.0" encoding="utf-8"?> <source> <publisher>greenindustryjobs</publisher>  <publisherurl>http://www.greenindustryjobs.com</publisherurl> <job>  <title>tax manager</title>  <description><![cdata[manages day-to-day tax department functions including federal, state , local tax compliance, planning , research. supervises, develops , evaluates staff ensure effecient operation of tax department. coordinates foreign locations on international tax matters.   bachelor's degree in finance or accounting. cpa , 8-10 yrs. of tax experience "big 4" cpa firm , major corporation desired  •direct   •provide ]]></description>  <referencenumber>1</referencenumber>  <date>2006-04-13</date>  </job> </source> 

i used following methods no luck.

method 1:

//$content = utf8_encode(file_get_contents('http://localhost/jobhills/test1.xml'));  //$content = iconv('utf-8', 'utf-8//ignore', $content); 

method 2:

$content = simplexml_load_string('test1.xml', null, libxml_nocdata); 

i need view following xml through browser

<?xml version="1.0" encoding="utf-8"?>  <source>    <publisher>abc</publisher>    <publisherurl>www.abc.com</publisherurl>    <job>      <title>tax manager</title>      <description><![cdata[manages day-to-day tax department functions including federal, state , local tax compliance, planning , research. supervises, develops , evaluates staff ensure effecient operation of tax department. coordinates foreign locations on international tax matters.     bachelor's degree in finance or accounting. cpa , 8-10 yrs. of tax experience "big 4" cpa firm , major corporation desired]]></description>      <referencenumber>1</referencenumber>      <date>2006-04-13</date>    </job>    <job>      <title>accounting/business manager</title>      <description><![cdata[duties , responsibilities  քirect day-to-day accounting , administrative operations multiple offices in northern virginia area.   ֐rovide hands on accounting support , supervision including financial reporting, accounts payable, billing, accounts receivable, payroll coordination, collections, financial statement preparation , analysis.   քevelop, manage, , implement operational , administrative procedures , policies business including establishing , maintaining accounting procedures, fiscal reporting methods, procedures payment of invoices, , other related activities.    ցssist project management in executing project cost/schedule control responsibilities.   ֐repare , monitor annual budget , advise management of budget status.    ֒esponsible collection of past due accounts including client coordination , contact, maintenance of recording , control procedures involving collection, evaluation, processing, preparation, submission , reconciliation of accounts.   ֐repares , approves billing documents , submits invoices payment approval, reviews , approves financial , accounting records , transactions.   փooperate internal/external audits , implement approved recommendations.   ցdditional support services functions include payroll coordination, human resources, employee benefit management, purchasing, communications, , marketing multiple offices.     ցssist in identifying accounting , administrative hardware , software requirements , support implementation of new technology.   ցttend business meetings keep apprised of other operations , provide input enhance department's operation.   քirect work of other administrative employees including selection, hiring, evaluating performance, employee training/development, promoting , disciplinary action.  qualifications  ւachelor's degree in accounting or in business administration supplemental coursework in accounting.  ֆive (5) years of work experience in accounting-related role required accounts payable/receivable, budgeting, , office management experience, or equivalent combination of work experience , education.    ֓uccessful experience in collection of accounts.   ցbility , desire work in cooperative manner , make management decisions.    օxperience working accounting software (deltek preferred) , working knowledge of cost accounting standards.]]></description>      <referencenumber>5</referencenumber>      <date>2008-07-10</date>    </job>  </source>


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -