Problem converting accounts

Pawan Chitrakar pchitrakar at gmail.com
Wed Mar 29 23:03:22 EST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060329/30890c92/attachment.html


More information about the gnucash-devel mailing list