Request for Namespace XML::SimpleObject - XML and Objects

2003-02-23 Thread Tina Mueller
hi,

name: Tina Mueller
email: [EMAIL PROTECTED]
url: http://www.tinita.de/
user-id: TINITA

I recently realized that XML::Simple is too simple
for my needs as it doesn't differ between attributes
and elements if they are mixed.
I tried out XML::DOM, but this seems to be too limited
in some aspects and far too powerful in other aspects.
It also seems to be slow in accessing elements, and a parsed
tree is *very* big.
So I started to write my own module.
I gave it the name XML::SimpleObject
(http://www.tinita.de/projects/perl/modules/).
I wonder if there's already such a module, and if
not I would upload it.
I'm also glad about any suggestions about the
interface and implementation.

here's the abstract:

XML::SimpleObject - Simple Interface for converting between XML and Objects

This Module is a simple tool for converting XML into objects
and vice versa. It is far from complete as I'm actually no
expert in XML. It respects, however, the difference
between Elements and Attributes like in the DOM. XML::Simple
doesn't do that (at the moment), so that was actually the
reason for me to write this module.
It ignores values that contain only spaces ( \s ), and
currently it encodes only in ISO-8859-1.

regards, tina
-- 
http://www.tinita.de/ \  enter__| |__the___ _ _ ___
http://Movies.tinita.de/   \ / _` / _ \/ _ \ '_(_-< of
http://www.perlquotes.de/   \\ _,_\ __/\ __/_| /__/ perception
http://www.tinita.de/peace/link.html - Spread Peace


Re: Request for Namespace XML::SimpleObject - XML and Objects

2003-02-23 Thread Tina Mueller
On Mon, 24 Feb 2003, Tina Mueller wrote:

> So I started to write my own module.
> I gave it the name XML::SimpleObject
> (http://www.tinita.de/projects/perl/modules/).
> I wonder if there's already such a module, and if
> not I would upload it.

i just realized there is already
a module XML::SimpleObject... *blush*

I'll look into it, it should be doing what i actually
intended...

regards, tina

-- 
http://www.tinita.de/ \  enter__| |__the___ _ _ ___
http://Movies.tinita.de/   \ / _` / _ \/ _ \ '_(_-< of
http://www.perlquotes.de/   \\ _,_\ __/\ __/_| /__/ perception
http://www.tinita.de/peace/link.html - Spread Peace


Re: Request for Namespace XML::SimpleObject - XML and Objects

2003-02-23 Thread Tina Mueller
On Mon, 24 Feb 2003, Tina Mueller wrote:

> > So I started to write my own module.
> > I gave it the name XML::SimpleObject
> > (http://www.tinita.de/projects/perl/modules/).
> > I wonder if there's already such a module, and if
> > not I would upload it.
>
> i just realized there is already
> a module XML::SimpleObject... *blush*
>
> I'll look into it, it should be doing what i actually
> intended...

well, this module just parses XML into an object, but you
cannot manipulate values or convert to XML again.

I would be glad about a suggestion for a namespace
which I could use for my module.

regards, tina

-- 
http://www.tinita.de/ \  enter__| |__the___ _ _ ___
http://Movies.tinita.de/   \ / _` / _ \/ _ \ '_(_-< of
http://www.perlquotes.de/   \\ _,_\ __/\ __/_| /__/ perception
http://www.tinita.de/peace/link.html - Spread Peace


Registration-request

2001-08-14 Thread Tina Mueller

Name: Tina
email: [EMAIL PROTECTED]
homepage: http://www.tinita.de
Preferred user-ID: TINITA

i'm planning to contribute a module for checking bank-account-
numbers in germany; i've implemented a couple of check-methods
already, the rest will follow. i didn't find any module
on CPAN that checks german account-numbers, although there
is an existing (but commercial) module.
i think it would best fit into the Business-namespace,
like Business::DE::Konto (any suggestions welcome).

regards, tina




Validating and generating IBANs

2002-03-16 Thread Tina Mueller

hi,

as the IBAN (International Bank Account Number) becomes
more and more important (at least in europe),
I thought of writing a small module which validates
and generates such numbers. It's a very simple
algorithm, but it might become convenient to have
it in a module.
I didn't find "IBAN" in the list archive, and
I've already set up a module Business::IBAN
(http://www.tinita.de/projects/perl/Business-IBAN-0.1.tar.gz),
but maybe there's a better name, or there is already
a module on CPAN which handles IBAN, so
i'm happy for any suggestions.
(it also generates ISO3166-codes for a country (needed
for the IBAN), and I didn't find a module
for iso3166-codes.)

regards, tina

-- 
http://www.tinita.de \  enter__| |__the___ _ _ ___
http://Movies.tinita.de/  \ / _` / _ \/ _ \ '_(_-< of
http://PerlQuotes.tinita.de/   \\ _,_\ __/\ __/_| /__/ perception





Re: Validating and generating IBANs

2002-03-24 Thread Tina Mueller

On Sun, 24 Mar 2002, Philip Newton wrote:

> On Mon, 18 Mar 2002 12:13:57 +, [EMAIL PROTECTED] (Tim Bunce)
> wrote:
>
> > On Sun, Mar 17, 2002 at 02:53:22AM +0100, Tina Mueller wrote:
> > > (it also generates ISO3166-codes for a country (needed
> > > for the IBAN), and I didn't find a module
> > > for iso3166-codes.)
> >
> > That should probably be factored out into a separate module.
>
> Locale::Country exists and seems to do this, if I'm not mistaken.

alright, thanks a bunch, Tim and Philip,
this seems to do it; haven't tested it though.
so then I'll register the Business::IBAN namespace.

i'm thinking of using Locale::Country in my module (depending
on if it's installed or not); but maybe it's better
just to note in the documentation "You either need
your country-iso-code or you have to use Locale::Country
to generate it."
what do you think?

regards,
tina

-- 
http://www.tinita.de \  enter__| |__the___ _ _ ___
http://Movies.tinita.de/  \ / _` / _ \/ _ \ '_(_-< of
http://PerlQuotes.tinita.de/   \\ _,_\ __/\ __/_| /__/ perception