--- joko/Scripts/xupdate/xupdate.pl 2003/04/24 21:07:36 1.1 +++ joko/Scripts/xupdate/xupdate.pl 2003/04/26 01:42:39 1.3 @@ -1,9 +1,16 @@ #!/usr/bin/perl ## ------------------------------------------------------------------------- -## $Id: xupdate.pl,v 1.1 2003/04/24 21:07:36 joko Exp $ +## $Id: xupdate.pl,v 1.3 2003/04/26 01:42:39 joko Exp $ ## ------------------------------------------------------------------------- ## $Log: xupdate.pl,v $ +## Revision 1.3 2003/04/26 01:42:39 joko +## first attempt to make up a crud template +## +## Revision 1.2 2003/04/25 12:35:23 joko +## added some pod +## revamped xsl +## ## Revision 1.1 2003/04/24 21:07:36 joko ## initial commit ## @@ -31,11 +38,11 @@ access to the XPath API in libxml2. -=head3 In short: +=head3 Yet another xupdate - facts in short: - S: It would be nice to have a pure perl thingy which does the same stuff.... + S: It would be nice to have a pure perl thingy which does (almost) the same stuff.... - Q: Can we achieve compliance with its API? (just a subset ....) + Q: Can we achieve compliance with its (XML::XUpdate::LibXML) API? (just a subset ....) Q: Can we achieve the processing declared as a XSL document processed using CPAN's XML::XSLT? @@ -43,6 +50,8 @@ Q: Can we mimic/use the interface of the - already established - 'xupdate' program??? + Q: Should we follow the CRUD path first? + =cut @@ -100,53 +109,109 @@ - - - + + + + + + - - + - + - - + + + + + + + 5 + ------- payload ------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + action: + payload: + + + CRUD: CREATE + - - node - begin - - - - + - - - - - + + + + + + CRUD: CREATE + + + + UNKOWN CRUD ACTION! + + + - node - end - + - - + - + - + + - content + content @@ -157,19 +222,32 @@ - - - - + + + + + + + + + + + node - begin + + - + + - - - + + - + + + + node - end +