Last post Aug 24, 2007 03:57 PM by figgie
Oct 26, 2006 02:04 AM|egyamado|LINK
I downloaded Small Business Kit and I made some modification to match my items using XML not SQL.
I'm using VB.NET.
The problem is, now if you see the Item.xml you will see in item area ( after gatogery - at the end ), it containts of many tages like
<image>, <title>, <price>, <discription> and so on.......
My problem with <discription> tag. Why????
In this tag you will write the discription of your item. And if you write many sentences it'll show as if it's ONE only.
In this tage you can't use any text decoration like: Bold, Italic, make break between two lines
<br/>, you can't do any thing except write sentences beside each other, which is so bad. Beacuse you can't read with this way..
SO, does any one have any idea how to don that? How to use text decoration, or make the <descrition> tag cabable to use text decoration by code or what ever?
That's is my problem, and hope to hear from you...
Thanks a lot
Nov 13, 2006 02:33 PM|mirtariq|LINK
Hi Ahmed -
Appologies for the delayed response.
There is a work around for which you need to use escape characters. For instance:
<b>Make this text bold</b> Needs to be written as: <b>Make
this text bold</b>
The “<” is replaced with “<”
and “>” is replaced with “>”
With the current design, description is declared as a string type which makes it invalid to use HTML markup. I will look into if there are more natural ways around this.
Hope this helps.
Aug 24, 2007 03:57 PM|figgie|LINK
not on the XML side as the < > & and a couple more charachters are reserved in XML usage. So you need to use the escape sequence to make the XML well formed. If not you could always do XML code to swap the < > & for < > & etc but it does not take
much work to get it correct with the escape sequence.