From xitami-dev@lists.xitami.org Thu Sep 4 16:58:35 2003 From: xitami-dev@lists.xitami.org (xitami-dev@lists.xitami.org) Date: Thu, 4 Sep 2003 11:58:35 -0400 Subject: [Xitami-Dev] LRWP Message-ID: This is a multipart message in MIME format. --=_alternative 0057C63D85256D97_= Content-Type: text/plain; charset="us-ascii" Hi everyone, Is there a way to notify LRWP process(es) about web server shutdown? If not, did anyone ever encounter a need (or done some work) for this ? Thanks in advance. +++ Aleksandar Fabijanic Level 2 Automation Engineer Nucor Steel Berkeley - Beam Mill Phone: 843.336.6678 Fax: 843.336.6072 --- --=_alternative 0057C63D85256D97_= Content-Type: text/html; charset="us-ascii"
Hi everyone,

Is there a way to notify LRWP process(es) about web server shutdown?

If not, did anyone ever encounter a need (or done some work) for this ?

Thanks in advance.

+++
Aleksandar Fabijanic
Level 2 Automation Engineer
Nucor Steel Berkeley - Beam Mill
Phone: 843.336.6678
Fax:      843.336.6072
---
--=_alternative 0057C63D85256D97_=-- From xitami-dev@lists.xitami.org Tue Sep 9 10:13:59 2003 From: xitami-dev@lists.xitami.org (Thomas Burghardt) Date: Tue, 9 Sep 2003 11:13:59 +0200 Subject: [Xitami-Dev] using sfl xml (Leipzig, germany) Message-ID: <005301c376b2$b8334590$fe78a8c0@Mars> This is a multi-part message in MIME format. ------=_NextPart_000_0050_01C376C3.77EBACA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Dear programmers, we would like to use the sfl library to read an xml file. The xml files looks like this short example: UNEMPLOYMENT=20 =20 I can read the item name 'domain' and i can read the item name 'name' = and 'label' but not the value 'UNEMPLOYMENT' (always NULL, when i call = xml_item_value). Why this? I use xml_item_value but there is a short comment in the = documentation: "Extracts the value from a value node. These are = recognised by their name being NULL"=20 What means 'name beeing NULL'? Thank you for your response!!!!=20 With best regards Institute of Regional Geography Thomas Burghardt Leipzig Germany ------=_NextPart_000_0050_01C376C3.77EBACA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Dear programmers,
we would like to use the sfl library to = read an xml=20 file.
The xml files looks like this short=20 example:
 
<Statistical_Metadata dateTimeSent=3D"2003-07-01T12:14:25"=20 lastUpdated=3D"2002-04-18"=20 xmlns=3Dhttp://= www.xxx.comxmlns:xsi=3Dhttp://www.w3.org/2= 000/10/XMLSchema-instance=20 xsi:schemaLocation=3D"ht= tp://www.xxx.gr  stat_mtf_repos.xsd">
 =20 <Domain>
  <name>UNEMPLOYMENT</name>
  <label>VABOIUS = INDICATORS=20 CONCERNING THE UNEMPLOYMENT AND WORKING POPULATION IN = EU</label>
</Domain>
</Statistical_Metadata>
 
I can read the item name 'domain' and i can read the item = name=20 'name' and 'label' but not the value 'UNEMPLOYMENT' (always NULL, when i = call=20 xml_item_value).
Why this? I use xml_item_value but there is a short comment in the=20 documentation: "Extracts the value from a value node. These are = recognised by=20 their name being NULL"
What means 'name beeing NULL'?
 
Thank you for your response!!!! 
With best regards
 
Institute of Regional = Geography
Thomas Burghardt
Leipzig
Germany
------=_NextPart_000_0050_01C376C3.77EBACA0-- From xitami-dev@lists.xitami.org Wed Sep 10 23:29:54 2003 From: xitami-dev@lists.xitami.org (Shivakumar Gopalakrishnan) Date: Wed, 10 Sep 2003 15:29:54 -0700 (PDT) Subject: [Xitami-Dev] using sfl xml In-Reply-To: <20030910042502.15824.31790.Mailman@sxpublic.imatix.net> Message-ID: <20030910222954.48512.qmail@web13405.mail.yahoo.com> Hi Try xml_get_attr_ic function to get the attribute value. Shivakumar Gopalakrishnan > Today's Topics: > > 1. using sfl xml (Leipzig, germany) (Thomas > Burghardt) > > Dear programmers, > we would like to use the sfl library to read an xml > file. > The xml files looks like this short example: > > dateTimeSent=3D"2003-07-01T12:14:25" = > lastUpdated=3D"2002-04-18" = > xmlns=3Dhttp://www.xxx.comxmlns:xsi=3Dhttp://www.w3.org/2000/10/XMLSchema= > -instance xsi:schemaLocation=3D"http://www.xxx.gr > stat_mtf_repos.xsd"> > > UNEMPLOYMENT=20 > =20 > > > > I can read the item name 'domain' and i can read the > item name 'name' = > and 'label' but not the value 'UNEMPLOYMENT' (always > NULL, when i call = > xml_item_value). > Why this? I use xml_item_value but there is a short > comment in the = > documentation: "Extracts the value from a value > node. These are = > recognised by their name being NULL"=20 > What means 'name beeing NULL'? > > Thank you for your response!!!!=20 > With best regards > > Institute of Regional Geography > Thomas Burghardt > Leipzig > Germany From xitami-dev@lists.xitami.org Thu Sep 11 08:07:19 2003 From: xitami-dev@lists.xitami.org (Thomas Burghardt) Date: Thu, 11 Sep 2003 09:07:19 +0200 Subject: [Xitami-Dev] using sfl xml library support makes problem Message-ID: <008b01c37833$5a40d790$fe78a8c0@Mars> This is a multi-part message in MIME format. ------=_NextPart_000_0086_01C37844.1A4BCB70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear programmers, I try it again, because the question is really important for us. We = would like to use the SFL library, but the XML support of the library did not really work. A user = of the xitami mailing list told me, i should take the function = xml_get_attr_ic, but this did not work again.=20 Please tell me if i can read the value 'UNEMPLOYMENT' in my xml file = (see the following section) with the sfl xml functions or not (and how)? Thank you very much. =20 The xml files looks like this short example: =20 UNEMPLOYMENT=20 =20 I can read the item name 'domain' and i can read the item name 'name' = and 'label' but not the value 'UNEMPLOYMENT' (always NULL, when i call = xml_item_value). Why this? I use xml_item_value but there is a short comment in the = documentation: "Extracts the value from a value node. These are = recognised by their name being NULL"=20 What means 'name beeing NULL'? Thank you for your response!!!!=20 With best regards Institute of Regional Geography Thomas Burghardt Leipzig Germany ------=_NextPart_000_0086_01C37844.1A4BCB70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear programmers,
I try it again, because the question is = really=20 important for us. We would like to use the SFL
library, but the XML support of the library did not really work. = A user of the xitami mailing list told me, i = should take the=20 function xml_get_attr_ic, but this did not work = again. 
Please tell me if i can read the value=20 'UNEMPLOYMENT' in my xml file (see the following section) with the sfl = xml=20 functions or not (and how)?
Thank you very = much.  
 
The xml files looks like this short=20 example:
<Statistical_Metadata>
 =20 <Domain>
  <name>UNEMPLOYMENT</name>
  <label>VABOIUS = INDICATORS=20 CONCERNING THE UNEMPLOYMENT AND WORKING POPULATION IN = EU</label>
</Domain>
</Statistical_Metadata>
 
I can read the item name 'domain' and i can read the item = name=20 'name' and 'label' but not the value 'UNEMPLOYMENT' (always NULL, when i = call=20 xml_item_value).
Why this? I use xml_item_value but there is a short comment in the=20 documentation: "Extracts the value from a value node. These are = recognised by=20 their name being NULL"
What means 'name beeing NULL'?
 
Thank you for your response!!!! 
With best regards
 
Institute of Regional = Geography
Thomas Burghardt
Leipzig
Germany
------=_NextPart_000_0086_01C37844.1A4BCB70-- From xitami-dev@lists.xitami.org Thu Sep 11 18:57:21 2003 From: xitami-dev@lists.xitami.org (Travis) Date: Thu, 11 Sep 2003 11:57:21 -0600 Subject: [Xitami-Dev] Delphi 6.0 LRWP component Message-ID: <001d01c3788e$26de2e10$1000a8c0@otfs> Since there was not much initial interest (would you pay for the component?), who would be interested in the source? FREE! I figure if anyone would use it... It's worth giving out. Includes documentation and sample application. -Travis Finster From xitami-dev@lists.xitami.org Fri Sep 12 18:49:17 2003 From: xitami-dev@lists.xitami.org (Shivakumar Gopalakrishnan) Date: Fri, 12 Sep 2003 10:49:17 -0700 (PDT) Subject: [Xitami-Dev] Re: using sfl xml library support makes problem In-Reply-To: <20030912042502.19615.2015.Mailman@sxpublic.imatix.net> Message-ID: <20030912174917.96719.qmail@web13402.mail.yahoo.com> --0-2040404336-1063388957=:96547 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Hi I did not look into the xml file in detail. So yes xml_get_attr_ic will not work as the file has items not attributes. Anyway you should use the macro FORVALUES to get the item values. Here is a complete command line program which reads from C:\userfile.xml. Everything is hardcoded and reads only one level of the xml tree. Should not be hard to extend it. I have also attached the file in case it is hard to copy. // xmlreader.cpp : Simple xml reader // // By Shivakumar Gopalakrishnan #include "stdafx.h" #include "sfl.h" int main(int argc, char* argv[]) { int rc; XML_ITEM *xml_root, *xml_source, * xml_domain_item, * xml_child, * xml_value_child; char * name, * value; xml_root = xml_create (NULL, NULL); rc = xml_load_file (& xml_root, "C:", "userfile.xml", FALSE); if (rc == XML_NOERROR) { // gets the root xml_source = xml_first_child (xml_root); char * item_name = xml_item_name(xml_source); printf("item name = %s\n", item_name); // now get the "Domain" item xml_domain_item = xml_first_child (xml_source); item_name = xml_item_name(xml_domain_item); printf("\titem name = %s\n", item_name); FORCHILDREN (xml_child, xml_domain_item) { name = xml_item_name (xml_child); printf("\t\titem name = %s\n", name); FORVALUES (xml_value_child, xml_child) { value = xml_item_value (xml_value_child); printf("\t\t\titem value = %s\n", value); } } xml_free (xml_root); } else { fprintf (stderr, "xmlreader E: Error processing C:\\userfile.xml...\n"); fprintf (stderr, xml_error ()); } return 0; } > Today's Topics: > > 1. using sfl xml library support makes problem > (Thomas Burghardt) > 2. Delphi 6.0 LRWP component (Travis) > > --__--__-- > > Message: 1 > From: "Thomas Burghardt" > > To: > Date: Thu, 11 Sep 2003 09:07:19 +0200 > Organization: Worms & Partner > Subject: [Xitami-Dev] using sfl xml library support > makes problem > Reply-To: xitami-dev@lists.xitami.org > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0086_01C37844.1A4BCB70 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Dear programmers, > I try it again, because the question is really > important for us. We = > would like to use the SFL > library, but the XML support of the library did not > really work. A user = > of the xitami mailing list told me, i should take > the function = > xml_get_attr_ic, but this did not work again.=20 > Please tell me if i can read the value > 'UNEMPLOYMENT' in my xml file = > (see the following section) with the sfl xml > functions or not (and how)? > Thank you very much. =20 > > The xml files looks like this short example: > =20 > > UNEMPLOYMENT=20 > =20 > > > --0-2040404336-1063388957=:96547 Content-Type: application/octet-stream; name="StdAfx.cpp" Content-Transfer-Encoding: base64 Content-Description: StdAfx.cpp Content-Disposition: attachment; filename="StdAfx.cpp" Ly8gc3RkYWZ4LmNwcCA6IHNvdXJjZSBmaWxlIHRoYXQgaW5jbHVkZXMganVz dCB0aGUgc3RhbmRhcmQgaW5jbHVkZXMNCi8vCXhtbHJlYWRlci5wY2ggd2ls bCBiZSB0aGUgcHJlLWNvbXBpbGVkIGhlYWRlcg0KLy8Jc3RkYWZ4Lm9iaiB3 aWxsIGNvbnRhaW4gdGhlIHByZS1jb21waWxlZCB0eXBlIGluZm9ybWF0aW9u DQoNCiNpbmNsdWRlICJzdGRhZnguaCINCg0KLy8gVE9ETzogcmVmZXJlbmNl IGFueSBhZGRpdGlvbmFsIGhlYWRlcnMgeW91IG5lZWQgaW4gU1REQUZYLkgN Ci8vIGFuZCBub3QgaW4gdGhpcyBmaWxlDQo= --0-2040404336-1063388957=:96547 Content-Type: application/octet-stream; name="StdAfx.h" Content-Transfer-Encoding: base64 Content-Description: StdAfx.h Content-Disposition: attachment; filename="StdAfx.h" Ly8gc3RkYWZ4LmggOiBpbmNsdWRlIGZpbGUgZm9yIHN0YW5kYXJkIHN5c3Rl bSBpbmNsdWRlIGZpbGVzLA0KLy8gIG9yIHByb2plY3Qgc3BlY2lmaWMgaW5j bHVkZSBmaWxlcyB0aGF0IGFyZSB1c2VkIGZyZXF1ZW50bHksIGJ1dA0KLy8g ICAgICBhcmUgY2hhbmdlZCBpbmZyZXF1ZW50bHkNCi8vDQoNCiNpZiAhZGVm aW5lZChBRlhfU1REQUZYX0hfXzhEOUI2NzQyX0U1NDNfMTFEN19CMkNBXzAw QzBGMDVCMjJEQ19fSU5DTFVERURfKQ0KI2RlZmluZSBBRlhfU1REQUZYX0hf XzhEOUI2NzQyX0U1NDNfMTFEN19CMkNBXzAwQzBGMDVCMjJEQ19fSU5DTFVE RURfDQoNCiNpZiBfTVNDX1ZFUiA+IDEwMDANCiNwcmFnbWEgb25jZQ0KI2Vu ZGlmIC8vIF9NU0NfVkVSID4gMTAwMA0KDQojZGVmaW5lIFdJTjMyX0xFQU5f QU5EX01FQU4JCS8vIEV4Y2x1ZGUgcmFyZWx5LXVzZWQgc3R1ZmYgZnJvbSBX aW5kb3dzIGhlYWRlcnMNCg0KI2luY2x1ZGUgPHN0ZGlvLmg+DQoNCi8vIFRP RE86IHJlZmVyZW5jZSBhZGRpdGlvbmFsIGhlYWRlcnMgeW91ciBwcm9ncmFt IHJlcXVpcmVzIGhlcmUNCg0KLy97e0FGWF9JTlNFUlRfTE9DQVRJT059fQ0K Ly8gTWljcm9zb2Z0IFZpc3VhbCBDKysgd2lsbCBpbnNlcnQgYWRkaXRpb25h bCBkZWNsYXJhdGlvbnMgaW1tZWRpYXRlbHkgYmVmb3JlIHRoZSBwcmV2aW91 cyBsaW5lLg0KDQojZW5kaWYgLy8gIWRlZmluZWQoQUZYX1NUREFGWF9IX184 RDlCNjc0Ml9FNTQzXzExRDdfQjJDQV8wMEMwRjA1QjIyRENfX0lOQ0xVREVE XykNCg== --0-2040404336-1063388957=:96547 Content-Type: application/octet-stream; name="xmlreader.cpp" Content-Transfer-Encoding: base64 Content-Description: xmlreader.cpp Content-Disposition: attachment; filename="xmlreader.cpp" Ly8geG1scmVhZGVyLmNwcCA6IFNpbXBsZSB4bWwgcmVhZGVyDQovLw0KLy8g QnkgU2hpdmFrdW1hciBHb3BhbGFrcmlzaG5hbg0KDQoNCiNpbmNsdWRlICJz dGRhZnguaCINCiNpbmNsdWRlICJzZmwuaCINCg0KaW50IG1haW4oaW50IGFy Z2MsIGNoYXIqIGFyZ3ZbXSkNCnsNCiAgICBpbnQgcmM7DQoJWE1MX0lURU0g ICAgKnhtbF9yb290LA0KCQkqeG1sX3NvdXJjZSwgKiB4bWxfZG9tYWluX2l0 ZW0sICogeG1sX2NoaWxkLCAqIHhtbF92YWx1ZV9jaGlsZDsNCg0KCWNoYXIg KiBuYW1lLCAqIHZhbHVlOw0KDQoJDQogICAgeG1sX3Jvb3QgPSB4bWxfY3Jl YXRlIChOVUxMLCBOVUxMKTsNCiAgICByYyA9IHhtbF9sb2FkX2ZpbGUgKCYg eG1sX3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c3NpbmcgQzpcXHVzZXJmaWxlLnht bC4uLlxuIik7DQogICAgICAgIGZwcmludGYgKHN0ZGVyciwgeG1sX2Vycm9y ICgpKTsNCgl9DQoJcmV0dXJuIDA7DQp9DQoNCg== --0-2040404336-1063388957=:96547-- From xitami-dev@lists.xitami.org Mon Sep 15 07:35:40 2003 From: xitami-dev@lists.xitami.org (Thomas Burghardt) Date: Mon, 15 Sep 2003 08:35:40 +0200 Subject: [Xitami-Dev] Re: using sfl xml library support makes problem Message-ID: <004701c37b53$98e5b9c0$fe78a8c0@Mars> This is a multi-part message in MIME format. ------=_NextPart_000_0044_01C37B64.588EB780 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Programmers, especially Shivakumar Gopalakrishnan, thank you for your code example. I did not find the XML macros = FORCHILDREN and FORVALUES in the SFL documentation...... but now with = the help of Mr. Gopalakrishnan i found it in the list of symbols (at the = end of the XML functions) !sorry! With best regards Thomas Burghardt, IFL, Leipzig, Germany. ------=_NextPart_000_0044_01C37B64.588EB780 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Programmers, especially Shivakumar = Gopalakrishnan,
thank you for your code example. I did = not find the=20 XML macros FORCHILDREN and FORVALUES in the SFL documentation...... but = now with=20 the help of Mr. Gopalakrishnan i found it in the list of symbols = (at the=20 end of the XML functions) !sorry!
With best regards
Thomas Burghardt, IFL, Leipzig,=20 Germany.
 
------=_NextPart_000_0044_01C37B64.588EB780-- From xitami-dev@lists.xitami.org Tue Sep 16 21:01:26 2003 From: xitami-dev@lists.xitami.org (Shivakumar Gopalakrishnan) Date: Tue, 16 Sep 2003 13:01:26 -0700 (PDT) Subject: [Xitami-Dev] Re: using sfl xml library support makes problem (Thomas ...) In-Reply-To: <20030916042502.25390.42410.Mailman@sxpublic.imatix.net> Message-ID: <20030916200126.84876.qmail@web13402.mail.yahoo.com> Hi imatix code is very robust but their documentation is not their strength. I found that the easiest way to find out how to use a certain function is to search their xitami web server source code. Most of the time it provides a good example on using a function in a real world situation. Thank you Thomas for your kind comments. Kumar