Hi Peter,
Hmm... did you mean this:
Writer.WriteStartElement("name");
Writer.WriteAttributeString("xml", "lang", string.Empty, "en-En");
Writer.WriteString("product name");
Writer.WriteEndElement();
Regards, Alex
[TechBlog] http://devkids.blogspot.com
> Hi all,
>
[quoted text clipped - 9 lines]
>
> Thanks
Peter Ramsebner - 30 Sep 2007 22:22 GMT
> Hmm... did you mean this:
>
> Writer.WriteStartElement("name");
> Writer.WriteAttributeString("xml", "lang", string.Empty, "en-En");
> Writer.WriteString("product name");
> Writer.WriteEndElement();
yes, thank you!
now i have the next problem:
i have to generate this:
<custom-attribute xml:lang="de-DE" dt:dt="string"
name="displayName">Farbe</custom-attribute>
but what i get ist this:
<custom-attribute xml:lang="de-DE" dt="string"
name="displayName">Farbe</custom-attribute>
using: writer.WriteAttributeString("dt", "dt", String.Empty, "string")
any idea?
thanks in advance, Peter