Hi,
I'm writing an xml-file.
Up until now I have done the following:
Example:
<Dbtr>
<Nm>Name</Nm>
</Dbtr>
writerXTimes.WriteStartElement("", "Dbtr", "")
writerXTimes.WriteElementString("Nm", "Name")
writerXTimes.WriteEndElement()
This gives me the wanted result.
But now I need the following:
<Amount Ccy = "EUR">25</Amount>
Is there an easy way to do this?
I have imported system.xml and I use a xmlTextWriter.
Thanks in advance
Elsje
I'm writing an xml-file.
Up until now I have done the following:
Example:
<Dbtr>
<Nm>Name</Nm>
</Dbtr>
writerXTimes.WriteStartElement("", "Dbtr", "")
writerXTimes.WriteElementString("Nm", "Name")
writerXTimes.WriteEndElement()
This gives me the wanted result.
But now I need the following:
<Amount Ccy = "EUR">25</Amount>
Is there an easy way to do this?
I have imported system.xml and I use a xmlTextWriter.
Thanks in advance
Elsje