in reply to Re: the axml parser v3.4
in thread the axml parser v3.4
Re : Grandfather; thanks I will look into those suggestions in my next verion!
Re : glory hack; thanks for the constructive part of the critiscm, however imho posting ameture code makes a person look like they are willing to learn something new, saying someone looks a like a dork for being a begginer makes a person look like a snob... whilst I'm sure your perl coding could make mark j dominus look like a noob, manners are universal Sir.
Re : Jenda, i found that using the ( ) and other such chars caused my regex's to fail, and after many frustrating hours trying to figure out why that is, i decided on the solution you see here.
I wasn't intending this post to be some sort of statement of programming prowess, I needed some info on capturing data from a given url and the resulting conversation on the chatter box prompted me to share this code. I'm fully aware its both ameture and in need of a lot of work, and thanks to some of the more mature responses here I have some directions in which to take it.
The code aside, I still think the aim of aXML is valid and worthy of being understood. The ability to nest xml tags which correspond to plugins gives a freedom of expression which makes my development work so much easier.
Sticky forms are a snip with axml, if for instance the user makes a mistake and you have to show the same form back to them with the values filled in you can simply nest a <qd> tag in the input tag :
<input type="text" name="username"><qd>username</qd></input>Its possible to build tags on the fly;
action.pl?gettype=html
<<qd>gettype</qd>>
</<qd>gettype</qd>>
would resolve to the tag <html> and its close </html>
alsorts of behaviours become possible, im only just scratching the surface of what this parser can do yet, ok its weird its a bit left of feild, but it has its novelties and good points... it would be a shame to simply overlook the fine points because my perl coding is not perfect.
Many thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: the axml parser v3.4
by jdporter (Paladin) on Apr 13, 2007 at 16:04 UTC | |
|
Re^3: the axml parser v3.4
by Jenda (Abbot) on Apr 13, 2007 at 15:03 UTC | |
|
Re^3: the axml parser v3.4
by Anonymous Monk on Apr 12, 2007 at 17:31 UTC |