login about faq

Hello I need some help please:

I have this xml <url> <loc>http://www.domain.com/index.asp?p=968D7BD6-07DD-4717-87E3-699A6C719029</loc> <lastmod>2015-12-28T18:07:30+00:00</lastmod> <changefreq>daily</changefreq> <priority>0.8</priority> </url>

i need a vbs example how to change the <lastmod> value

Best Regards

asked Jan 19 at 08:42

JoaoFalcao's gravatar image

JoaoFalcao
1112


set xml = CreateObject("Chilkat_9_5_0.Xml")
xml.LoadXml(s)
xml.UpdateChildContent("lastmod","some new value")
strXml = xml.GetXml()
link

answered Jan 20 at 19:16

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×59

Asked: Jan 19 at 08:42

Seen: 667 times

Last updated: Jan 20 at 19:16

powered by OSQA