Please advice on converting docbook accounts file to po and vice versa

coz xml2po doesnot keep all the xml tag like for example

The commands i used are
xml2po -o ne.po -k acctchrt_brokerage.gnucash-xea
xml2po -o ne.xml -p ne.po -k acctchrt_brokerage.gnucash-xea

----------------------------------------------
original

<?xml version="1.0" encoding="ISO-8859-1"?>
<gnc-account-example>
    <gnc-act:title>
     Investment Accounts
    </gnc-act:title>
    <gnc-act:short-description>
      Brokerage account with related investment accounts (stock, bond, mutual fund, index fund, interest, dividend)
    </gnc-act:short-description>
    <gnc-act:long-description>
    You would want to select this set of accounts if you have investments (stock, bond, mutual fund, index fund, interest, dividend).
  </gnc-act:long-description>   
------------------------------------------------------------------------
converted po (ne.po)
#: acctchrt_brokerage.gnucash-xea:3(title)
msgid "Investment Accounts"
msgstr "Test translate"

#: acctchrt_brokerage.gnucash-xea:6(short-description)
msgid "Brokerage account with related investment accounts (stock, bond, mutual fund, index fund, interest, dividend)"
msgstr ""

#: acctchrt_brokerage.gnucash-xea:9(long-description)
msgid "You would want to select this set of accounts if you have investments (stock, bond, mutual fund, index fund, interest, dividend)."
msgstr ""
------------------------------------------------
reverse converted xml (ne.xml)
<?xml version="1.0" encoding="utf-8"?>
<gnc-account-example>
    <title>Test translate</title>
    <short-description>Brokerage account with related investment accounts (stock, bond, mutual fund, index fund, interest, dividend)</short-description>
    <long-description>You would want to select this set of accounts if you have investments (stock, bond, mutual fund, index fund, interest, dividend).</long-description>   

-----------------------------------------------------------------

how can i get the original tagset ????

thanks in advance

pawan


_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to