P
Pierre
Hi,
I would like to apply a Xsl Transformation on a serialized object. But
I don't know where to start.
Should I do a XmlDocument.load(ObjectToSerialize.ToString())?
Or should I call the ObjectToSerialize.Serialize() before? In wich case
I dun understand why I can't access the .Serialize() on my Class:
[Serializable]
public class MyBusinessList{
[XmlElement("BusinessLists")]
public BusinessList[] _busList;
public MyBusinessList(){
this._busList=new BusinessList[1];
}
public void addBusiness(BusinessList tempBus){
this._busList=this.resizeArray(this._busList,
this._busList.Length+1);
this._busList[this._busList.Length-1]=tempBus;
}
public BusinessList[] resizeArray (BusinessList[] oldArray, int
newSize) {
BusinessList[] tempArr=new BusinessList[newSize];
oldArray.CopyTo(tempArr, 0);
return tempArr;
}
}
Thx in advance for your suggestions and answers,
Pierre
I would like to apply a Xsl Transformation on a serialized object. But
I don't know where to start.
Should I do a XmlDocument.load(ObjectToSerialize.ToString())?
Or should I call the ObjectToSerialize.Serialize() before? In wich case
I dun understand why I can't access the .Serialize() on my Class:
[Serializable]
public class MyBusinessList{
[XmlElement("BusinessLists")]
public BusinessList[] _busList;
public MyBusinessList(){
this._busList=new BusinessList[1];
}
public void addBusiness(BusinessList tempBus){
this._busList=this.resizeArray(this._busList,
this._busList.Length+1);
this._busList[this._busList.Length-1]=tempBus;
}
public BusinessList[] resizeArray (BusinessList[] oldArray, int
newSize) {
BusinessList[] tempArr=new BusinessList[newSize];
oldArray.CopyTo(tempArr, 0);
return tempArr;
}
}
Thx in advance for your suggestions and answers,
Pierre