Re: custom xml parser
| From: | Jesus M. Castagnetto | Date: | Fri, 23 Aug 2002 21:44:28 +0000 |
| Subject: | Re: custom xml parser | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348258@lists.php.net to get a copy of this message | ||
First, this is not the right list to ask for help in
this matters. This list is for the PHP Documentation
team (i.e. the online Manual and its translations).
Second, you might want to talk to Manuel Lemos. IIRC
he had a similar language already implemented. His
contact info is in his phpclasses.org site.
--- OrangeHairedBoy <me@orangehairedboy.com> wrote:
> I am looking to create my own xml based scripting
> language for a program I
> am writing. I know that all of the xml parsing tools
> are with PHP, but I'm
> not exactly sure how I would implement everything?
> Can anyone offer any
> advice, or has an open source scripting language
> parser for php already been
> written??
>
> For those that want to know, the reason I'm not just
> using PHP, is that the
> product I'm creating needs to be so easy to use that
> no real programming
> experience is needed. Scripting is optional, but
> used when necessary to
> create custom actions.
>
> Take this for example:
>
> <setvar>
> <name>test</name>
> <value>Hello World!</value>
> </setvar>
> <print>
> <var>
> <name>test</name>
> </var>
> </print>
> <!-- Prints Hello World! -->
>
> or
>
> <setvar name="test" value="Hello World!"/>
> <print>
> <var name="test"/>
> </print>
> <!-- Prints Hello World! -->
>
> Both scripts would do the same thing - and it's
> pretty human-friendly
> scripting.
>
> Can anyone offer advice how to make this work??
>
> Thanks!
>
> OHB
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com