[V4MD] Not exporting ASCII chars in Text fields on XML export

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Aug 13 08:14:20 CDT 2004


On 8/13/04 1:33 AM, "Daniel Crowder" <daniel at monumental-i.com> wrote:

Hi Daniel,

> I'm sure I'm doing something stupid - but I when I export my database as
> XML my text fields show-up as all ASCII chars. I would like them to not
> be translated into ASCII chars. I changed the field language setting to
> "English" and still no go. Any suggestions?
> 
> - <#> <Record>
>  <f n="*RecID*">1</f>
>  <f n="*category_ptr*">20</f>
>  <f n="*catalogid*">1someproduct</f>
>  <f n="*description*">48 65 72 65 20 69 73 20 61 6E 6F 74 68 65 72 20
> 77 6F 6E 64 65 72 66 75 6C 20 43 6F 6F 70 65 72 20 70 72 6F 64 75 63 74
> 34 34 34</f>
> </Record>

Valentina dump in an XML file any BLOB field as HEX values.

For regular BLOB this is required. There is no way express BLOB value and
pictures into text form.

But for TEXT field, yes, we can also dump readable chars....
Just nobody have complain on this yet.

Aha, I remember why I did not use chars.
Look.

TEXT field can contains multi-line text value.
I.e. We can have many new lines. So text file can looks as


------------------
<f n="*description*">Aha, I remember why I did not use chars.
Look.

TEXT field can contains multi-line text value.
I.e. We can have many new lines. So text file can looks as
</f>
------------------


Hmm, well, not so bad...
Okay, I think in Valentina 2.0 we can change this behavior.



Btw, Daniel, 

    "*description*" -- this is name of field?


Not good. You should start names from letter or digit or _
Valentina 2.0 will complain on such bad names.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list