in reply to Re: XML::Twig - src code working but executable not working
in thread XML::Twig - src code working but executable not working

Hello Monks,

Thanks for your reply. My input and outputs are as:

Inuput:

<chapter head>Part &#8211; International</chapter head> <outline text>Meanings attached</outline text> <outline text>The complex nature of international employee recognition + and reward</outline text> <outline text>Strategic issues</outline text> <body text>The design and maintenance of an organisation's employee re +ward system represents &#8216;a critical.</body text> <body text>The claim begs the question.</body text> <a head>DEFINING 'EMPLOYEE REWARD'</a head> <body text>Located in a transnational include:</body text> <bullet list>relations between the strategic aims set by corporate man +agement for the multinational</bullet list> <bullet list>an appraisal of the relationship between corporate polici +es and practices for determining rewards dependent on the job, the pe +rson, and the performance of employees across a variety of locations, + segmented by geography or occupational category or other material fa +ctor</bullet list> <bullet list>an account of the 'human capital' perspective &#8211; the + implied or express needs and priorities of individuals and groups en +gaged to work for the organisation.</bullet list> <b head>Continuities and differences</b head> <body text>So, what is the same and what is different about internatio +nal reward and recognition strategy.</body text>

Output from script:

<chapter> <title>Part &#8211;International</title> <outline-box> <para>Meaningsattached</para> <para>The complex nature of international employee recognition and +reward</para> <para>Strategicissues</para> </outline-box> <para>The design and maintenance of an organisation's employee rewar +d system represents &#8216;acritical.</para> <para>The claim begs thequestion.</para> <section> <title>DEFINING 'EMPLOYEEREWARD'</title> <para>Located in a transnationalinclude:</para> <list type="bullet"> <item> <para>relations between the strategic aims set by corporate ma +nagement for themultinational</para> </item> <item> <para>an appraisal of the relationship between corporate polic +ies and practices for determining rewards dependent on the job, the p +erson, and the performance of employees across a variety of locations +, segmented by geography or occupational category or other materialfa +ctor</para> </item> <item> <para>an account of the 'human capital' perspective &#8211; th +e implied or express needs and priorities of individuals and groups e +ngaged to work for theorganisation.</para> </item> </list> <sub-section> <title>Continuities anddifferences</title> <para>So, what is the same and what is different about internati +onal reward and recognitionstrategy.</para> </sub-section> </section> </chapter>

output from exe:

<chapter> <title>Part &#8211;International</title> <para>Meaningsattached</para> <para>The complex nature of international employee recognition andre +ward</para> <para>Strategicissues</para> <para>The design and maintenance of an organisation's employee rewar +d system represents &#8216;acritical.</para> <para>The claim begs thequestion.</para> <section> <title>DEFINING 'EMPLOYEEREWARD'</title> <para>Located in a transnationalinclude:</para> <bulletlist>relations between the strategic aims set by corporate +management for themultinational</bulletlist> <bulletlist>an appraisal of the relationship between corporate pol +icies and practices for determining rewards dependent on the job, the + person, and the performance of employees across a variety of locatio +ns, segmented by geography or occupational category or other material +factor</bulletlist> <bulletlist>an account of the 'human capital' perspective &#8211; +the implied or express needs and priorities of individuals and groups + engaged to work for theorganisation.</bulletlist> <sub-section> <title>Continuities anddifferences</title> <para>So, what is the same and what is different about internati +onal reward and recognitionstrategy.</para> </sub-section> </section> </chapter>

Please look in to the bullet list section

thanks

Aakikce

Replies are listed 'Best First'.
Re^3: XML::Twig - src code working but executable not working
by mirod (Canon) on Jun 19, 2007 at 06:12 UTC

    In case the problem comes from some weird interaction between get_xpath and perlapp, try replacing all the calls to get_xpath( '//foo') by descendants( 'foo') (same with findnodes that you used at one point).

      Hello Monks,

      I used PDK 6.0.2.Now I get the correct exe

      Thanks for your replies.

      Aakikce