[IRCServices Coding] Re: IRCServices-Coding digest, Vol 1 #185 - 2 msgs

Aragon Gouveia aragon at phat.za.net
Fri Jul 5 22:21:06 PDT 2002


| By RT.Mail at verizon.net <RT.Mail at verizon.net>
|                                          [ 2002-07-06 04:32 +0200 ]
> Ok... As you may have guessed already.. im not the best at this
> stuff. When we download the db from /dbaccess/xml-export/ that is the
> file we are getting.
> <?xml version="1.0" ?>
> - <ircservices-db>
> - <constants>
>   <LANG_DEFAULT>-1</LANG_DEFAULT>
>   <CHANMAX_UNLIMITED>-2</CHANMAX_UNLIMITED>
>   <CHANMAX_DEFAULT>-1</CHANMAX_DEFAULT>
>   <TIMEZONE_DEFAULT>32767</TIMEZONE_DEFAULT>
>   <ACCLEV_FOUNDER>1000</ACCLEV_FOUNDER>
>   <ACCLEV_INVALID>-1000</ACCLEV_INVALID>
>   <ACCLEV_SOP>100</ACCLEV_SOP>
>   <ACCLEV_AOP>50</ACCLEV_AOP>
>   <ACCLEV_HOP>40</ACCLEV_HOP>
>   <ACCLEV_VOP>30</ACCLEV_VOP>
>   <MEMOMAX_UNLIMITED>-1</MEMOMAX_UNLIMITED>
>   <MEMOMAX_DEFAULT>-2</MEMOMAX_DEFAULT>
>   <NEWS_LOGON>0</NEWS_LOGON>
>   <NEWS_OPER>1</NEWS_OPER>
>   <MD_AKILL>0</MD_AKILL>
>   <MD_EXCLUSION>1</MD_EXCLUSION>
>   <MD_EXCEPTION>2</MD_EXCEPTION>
>   <MD_SGLINE>71</MD_SGLINE>
>   <MD_SQLINE>81</MD_SQLINE>
>   <MD_SZLINE>90</MD_SZLINE>
>   </constants>
>   <maxusercnt>0</maxusercnt>
> etc.....
> I'm really kind of lost. I know nothing about style sheets or any of
> this. Can you tell me exactly what I need to do to view that.. as a
> table i guess(im guessing that it is supposed to be viewed in a
> table).

For starters, I think it should be said that XML is intended as a standard
format for representing data. I guess you could think of it as a CSV file on
steroids. Another headache Micrsoft will probably try stamp out :).

With that said, opening the above in any XML viewer should present something
similar to the code (or a tree view of sorts). Simply because that's all it
is in its current form - raw data.

I haven't had a look at ircservices' XML stuff yet, but if I get a chance
this weekend I'll see if I can play around with a basic XSL stylesheet to
demonstrate what can be done with the data. Could you possibly forward me copy of
your database if it's not overly big (and not private)?


Regards,
Aragon