Login  Register

Re: Users - Import of longdescription

Posted by Hans Bakker on Dec 08, 2005; 4:28am
URL: http://ofbiz.116.s1.nabble.com/Users-Import-of-longdescription-tp136662p136663.html

You can only do this if the content of the XML file is legal according the XML
file rules.....so if you 'escape' the content, so translate '<' into &lt; and
> into &gt; and so on.... or contain it in a CDATA statement like:

<longDescription><![CDATA[From the <br/> balcony ]]></longDescription>

hope this helps...

On Thursday 08 December 2005 10:55, [hidden email] wrote:

> I`m trying to import column to ofbiz that has html tags using data file
> and xml import. The field i`m importing is a description for my products
> and data tool file changes the regular delimited file to xml fine but the
> problem starts when I try to import that xml file. Since, there are html
> tags in description import script gives me arror saying that it expects
> "=" after every "<". How can I import the fields with html tags? Is there
> a way to do it  or I have to get rid of the tags ?
> Thanks
> Michal
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

attachment0 (196 bytes) Download Attachment