Link to home
Start Free TrialLog in
Avatar of ALawrence007
ALawrence007

asked on

Create XML file locally from downloaded XML

Hi,

I am new to XML, so please bear with me.

I created an application where I download XML files. Most of them are in the same format. I want to create a local xml file, but I want to remove the stylesheet section ( <?xml-stylesheet type="bla,bla,bla/>). How can I do that? And how can I write that to file on my computer? I want to add a XSD ref, can I do that?

Let me know if you need more information.
Thanks
Avatar of sj_hicks
sj_hicks
Flag of Australia image

Use system.net web.client.download data to download the XML file.
Load the XML doc into an system.xml.xmldocument and use the schemas property to play around with the associates schemas.
Avatar of ALawrence007
ALawrence007

ASKER

sj_hicks,

Thanks for the reply. As I am a beginner, do you maybe have a sample that I can work of?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of sj_hicks
sj_hicks
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks sj_hicks