You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
    <allpages gapcontinue="Real_Life_Government" />
      <page pageid="13671" ns="0" title="Read Note Card Configuration">
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{LSL Header}}
Learn how to read configuration files with Linden Scripting Language (LSL) in Second Life (SL). After viewing this tutorial, you will be able to:

* Create a script
* Read each line of a note card
* Skip over comments
* Skip blank lines
* Notify the owner of the lines with unknown settings
**Unknown setting name
** Missing delimiter (equal sign)
* Notify the owner of missing configuration note card
* Detect when the notecard has been changed
* Offer case-insensitive settings
* Trim white-space from name/value settings
* Initialize with default values
* Detect that the name of the configuration file is a notecard
* Detect that  you have reached the end of the file 

# '''[ DOWNLOAD]''' [[Image:Getvidtut.png]] [ How to read configuration information from a notecard]

 # this is a file to configure your application
 # blank lines are ignored as well as lines
 # proceeded with a &quot;#&quot; sign.
 Name = Dedric Mauriac
 Favorite Color = Blue

&lt;source lang=&quot;lsl2&quot;&gt;
string configurationNotecardName = &quot;Application.Config&quot;;
key notecardQueryId;
integer line;

string AvatarName;
string FavoriteColor;

//  reset configuration values to default
    AvatarName = &quot;Unknown&quot;;
    FavoriteColor = &quot;None&quot;;

//  make sure the file exists and is a notecard
    if(llGetInventoryType(configurationNotecardName) != INVENTORY_NOTECARD)
    //  notify owner of missing file
        llOwnerSay(&quot;Missing inventory notecard: &quot; + configurationNotecardName);
    //  don't do anything else

//  initialize to start reading from first line (which is 0)
    line = 0;
    notecardQueryId = llGetNotecardLine(configurationNotecardName, line);

processConfiguration(string data)
//  if we are at the end of the file
    if(data == EOF)
    //  notify the owner
        llOwnerSay(&quot;We are done reading the configuration&quot;);

    //  notify what was read
        llOwnerSay(&quot;The avatar name is: &quot; + AvatarName);
        llOwnerSay(&quot;The favorite color is: &quot; + FavoriteColor);

    //  do not do anything else

//  if we are not working with a blank line
    if(data != &quot;&quot;)
    //  if the line does not begin with a comment
        if(llSubStringIndex(data, &quot;#&quot;) != 0)
        //  find first equal sign
            integer i = llSubStringIndex(data, &quot;=&quot;);

        //  if line contains equal sign
            if(i != -1)
            //  get name of name/value pair
                string name = llGetSubString(data, 0, i - 1);

            //  get value of name/value pair
                string value = llGetSubString(data, i + 1, -1);

            //  trim name
                list temp = llParseString2List(name, [&quot; &quot;], []);
                name = llDumpList2String(temp, &quot; &quot;);

            //  make name lowercase (case insensitive)
                name = llToLower(name);

            //  trim value
                temp = llParseString2List(value, [&quot; &quot;], []);
                value = llDumpList2String(temp, &quot; &quot;);

            //  name
                if(name == &quot;name&quot;)
                    AvatarName = value;

            //  color
                else if(name == &quot;favorite color&quot;)
                    FavoriteColor = value;

            //  unknown name
                    llOwnerSay(&quot;Unknown configuration value: &quot; + name + &quot; on line &quot; + (string)line);

        //  line does not contain equal sign
                llOwnerSay(&quot;Configuration could not be read on line &quot; + (string)line);

//  read the next line
    notecardQueryId = llGetNotecardLine(configurationNotecardName, ++line);

    on_rez(integer start_param)

    changed(integer change)
        if(change &amp; (CHANGED_OWNER | CHANGED_INVENTORY))


    dataserver(key request_id, string data)
        if(request_id == notecardQueryId)
      <page pageid="47342" ns="0" title="Real Life">
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{Help|Glossary=*}}Real Life (abbrivated RL and sometimes referred to as ''First Life'') is a Virtual Reality Game similar to [[Second Life]] and was around long before Second Life was. Real Life has, by far one of the largest user bases, but also many bugs such as:

*[[teleport]] fails
*camera controls not functioning
*[[inventory]] failing
*''and so on...''

It is a common distraction from Second Life, is highly addictive and you should better refrain from creating an account at a Real Life universe.

Remember: '''RL might critically harm your SL!'''

== Related Links ==
* &lt;strike&gt;;/strike&gt; '''none!'''</rev>