Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems writing XML
Message
De
05/11/2004 07:30:11
Bill Benton
North Florida Software Services
Middleburg, Floride, États-Unis
 
 
À
05/11/2004 03:50:30
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00958201
Message ID:
00958442
Vues:
22
Hi again, Viv,

I am now being hit with another different type of string, that is different than all of the others.
<salary type="annual">45000</salary> 
The WriteAttributeString doesn't seem to work on this one.


TIA

>Hi,
>
>>>
>I am attempting to write the following to an XML file:
>credit_type type="joint"
>with the WriteElementString() method. It keeps writing the following:
>credit_type="joint"
>I am having difficulty trying to get the other "type" element into the document.
>>>
>Could try something like instead:
>
>w.WriteStartElement("credit_type")
>w.WriteAttributeString("type", "joint")
>'Add element content etc.
>w.WriteEndElement()
>
>HTH,
>Viv
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform