V
virendra.chandra
hey, anybody help me.
my problem is that i am doing xml seriazation through top most class.
so many place i need indentation. so what i did i put hexadecimal
code( )
class sample
{
private string _title;
public string Title
{
get
{
return _title;
}
set
{
_title=value;
}
}
}
i assign Title = " Book Shop Inventory";
but in time of serialization i am getting like that.
<Title>"&#xA0;&#xA0;&#xA0;Book Shop Inventory</Title>
how i can overcome of this problem. is there any other way to get white
space. if pdf generation.
if i am simpley ptting a empty space then also i am getting same after
xml serialization.
but converting it into pdf. simply this empty space is not coming. so
what can i do.
Title = " Book Shop Inventory";
<Title> Book Shop Inventory</Title>
thanks in advance
my problem is that i am doing xml seriazation through top most class.
so many place i need indentation. so what i did i put hexadecimal
code( )
class sample
{
private string _title;
public string Title
{
get
{
return _title;
}
set
{
_title=value;
}
}
}
i assign Title = " Book Shop Inventory";
but in time of serialization i am getting like that.
<Title>"&#xA0;&#xA0;&#xA0;Book Shop Inventory</Title>
how i can overcome of this problem. is there any other way to get white
space. if pdf generation.
if i am simpley ptting a empty space then also i am getting same after
xml serialization.
but converting it into pdf. simply this empty space is not coming. so
what can i do.
Title = " Book Shop Inventory";
<Title> Book Shop Inventory</Title>
thanks in advance