Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

XML Users in a Database Statistics

Hi all ~
I'm sort of new at this XML thing, so I have a quick question. Is it possible
to use
XML to glean the number of users currerently logged into a certain database?
also, this database is currently being run on a UNIX server, and the data
needs to be
displayed on NT machines.
Any help and/or points in the right direction would be MOST helpful.
Thanks in advance!
Chris
DOD
[425 byte] By [DevChris Nimby9969ATyahoo.com] at [2007-11-9 15:25:45]
# 1 Re: XML Users in a Database Statistics
Chris,
XML is nothing more than a data definition language. It doesn't do anything.
Other tools use XML. So yes, XML can be used in this scenario.
A tool will be needed to gather the info, create the XML and send it to the
NT workstations. Then some tool will take the XML and create a pretty UI
or just show the XML.

The biggest issue is can you get the user info at all? I don't see you
really needing to use XML at all. Get the data from the database and serve
it up from the Unix Box via a web server. You can create xml and use xsl
to create HTML if you want. There are many variations depending on what
you need to be able to do.

Mark

"DevChris" Nimby9969"AT"yahoo.com wrote:
>
>Hi all ~
> I'm sort of new at this XML thing, so I have a quick question. Is it possible
>to use
>XML to glean the number of users currerently logged into a certain database?
>also, this database is currently being run on a UNIX server, and the data
>needs to be
>displayed on NT machines.
>Any help and/or points in the right direction would be MOST helpful.
>Thanks in advance!
>Chris
>DOD
MarkN at 2007-11-11 23:30:01 >
# 2 Re: XML Users in a Database Statistics
Mark ~
Well, ended up using a unix Shell script to actually gather and post the
data,
it's not sitting in a text file on the server.
Now it's a matter of getting said text file INTO the web page ... with out
offering
to download and/or open the "TXT" file. Can html/xml parse a ascii text file

(it's a 3 digit number, thats it) into an already exsisting web page?
Thanks so far.
~ Chris
DOD - BWI
"MarkN" <enterprise.@127.0.0.1> wrote:
>
>Chris,
> XML is nothing more than a data definition language. It doesn't do anything.
> Other tools use XML. So yes, XML can be used in this scenario.
>A tool will be needed to gather the info, create the XML and send it to
the
>NT workstations. Then some tool will take the XML and create a pretty UI
>or just show the XML.
>
>The biggest issue is can you get the user info at all? I don't see you
>really needing to use XML at all. Get the data from the database and serve
>it up from the Unix Box via a web server. You can create xml and use xsl
>to create HTML if you want. There are many variations depending on what
>you need to be able to do.
>
>Mark
>
>"DevChris" Nimby9969"AT"yahoo.com wrote:
>>
>>Hi all ~
>> I'm sort of new at this XML thing, so I have a quick question. Is it possible
>>to use
>>XML to glean the number of users currerently logged into a certain database?
>>also, this database is currently being run on a UNIX server, and the data
>>needs to be
>>displayed on NT machines.
>>Any help and/or points in the right direction would be MOST helpful.
>>Thanks in advance!
>>Chris
>>DOD
>
DevChris at 2007-11-11 23:30:57 >
# 3 Re: XML Users in a Database Statistics
"Can html/xml parse a ascii text file".

No. You will need a programming/scripting language to do it. PHP, JSP,
Java, Perl for use on Unix. These can create the HTML page on the fly from
the file. If you can call the script from any of these you can do it all
on the fly. If you don't need to then just create the file as needed.

Mark

"DevChris" <Nimby9969@yahoo.com> wrote:
>
>Mark ~
> Well, ended up using a unix Shell script to actually gather and post the
>data,
>it's not sitting in a text file on the server.
>Now it's a matter of getting said text file INTO the web page ... with out
>offering
>to download and/or open the "TXT" file. Can html/xml parse a ascii text
file
>
>(it's a 3 digit number, thats it) into an already exsisting web page?
>Thanks so far.
>~ Chris
>DOD - BWI
>"MarkN" <enterprise.@127.0.0.1> wrote:
>>
>>Chris,
>> XML is nothing more than a data definition language. It doesn't do anything.
>> Other tools use XML. So yes, XML can be used in this scenario.
>>A tool will be needed to gather the info, create the XML and send it to
>the
>>NT workstations. Then some tool will take the XML and create a pretty
UI
>>or just show the XML.
>>
>>The biggest issue is can you get the user info at all? I don't see you
>>really needing to use XML at all. Get the data from the database and serve
>>it up from the Unix Box via a web server. You can create xml and use xsl
>>to create HTML if you want. There are many variations depending on what
>>you need to be able to do.
>>
>>Mark
>>
>>"DevChris" Nimby9969"AT"yahoo.com wrote:
>>>
>>>Hi all ~
>>> I'm sort of new at this XML thing, so I have a quick question. Is it
possible
>>>to use
>>>XML to glean the number of users currerently logged into a certain database?
>>>also, this database is currently being run on a UNIX server, and the data
>>>needs to be
>>>displayed on NT machines.
>>>Any help and/or points in the right direction would be MOST helpful.
>>>Thanks in advance!
>>>Chris
>>>DOD
>>
>
MarkN at 2007-11-11 23:32:02 >