Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serializing XML with stylesheet
Message
De
20/08/2012 14:25:37
 
 
À
20/08/2012 13:21:50
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01550792
Message ID:
01550829
Vues:
34
>Doesn't 'loXmlDocument.Load(loMemoryStream)' fail since loMemoryStream is not populated ?

Correct, at that point oMemoryStream is already being constructed in memory. And, I need to add this stylesheet. However, the command to use is:
loXmlDocument.InsertAfter(loXmlProcessingInstruction, loXmlDocument.FirstChild)
But, when constructing the XML in memory, all I have is oMemoryStream. Does this mean I would have to dump the memory stream into a variable. Load that variable into loXmlDocument. Benefit from its InsertAfter() method. Once inserted, reinitialize oMemoryStream with an updated content. There has to be a way to manipulate something like directly from the oMemoryStream variable. Have you ever did something like this?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform