Re: Serialize a class adding a style***



If you serialize a class, only class members will be serialized. As an XSL
style*** is a string, you have the option of creating a member of the
class (which represents the style***) that can be serialized with it.
Otherswise, use an external style***.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Complex things are made up of
Lots of simple things.

"Pazza" <Pazza@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CED9C30E-5967-4F70-8B30-3E632E649F60@xxxxxxxxxxxxxxxx
> Hi,
>
> I need to be able to serialize my class such that the XML file contains a
> style*** directive after the XML definition as below:
>
> <?xml version="1.0" ?>
> <xml-style*** type="test/xsl" href="abc.xsl"?>
> <root>
> etc
> etc
>
> Can anyone tell me how to do this please?
>
> Pazza.


.