Jump to content

XML Problems


Damein
 Share

Recommended Posts

So I can't seem to figure out why this isn't working..

#include <File.au3>
#include <_XMLDomWrapper.au3>

_XMLFileOpen("G:\New Weather App\Data.XML")
 _XMLUpdateField("/data/Condition", "4")

And this is the XML document.

<?xml version="1.0" encoding="UTF-8"?>
<data>
    <Condition>1</Condition>
    <ActualTemp>2</Temp>
    <FeelTemp>2</FeelTemp>
    <HighTemp>2</HighTemp>
    <LowTemp>2</LowTemp>
    <Wind>2</Wind>
    <WindChill>2</WindChill>
    <Pressure>2</Pressure>
    <Humidity>2</Humidity>
    <VisibilityDist>2</VisibilityDist>
    <VisibilityGauge>2</VisibilityGauge>
    <Clouds>2</Clouds>
    <RainfallAmount>2</RainfallAmount>
    <RainfallGauge>2</RainfallGauge>
    <SnowDepth>2</SnowDepth>
</data>

MCR.jpg?t=1286371579

Most recent sig. I made

Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic

Link to comment
Share on other sites

Sorry, I noticed I didn't properly close one of the tags in the XML document. Fixed, thanks.

MCR.jpg?t=1286371579

Most recent sig. I made

Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...