--- joko/Scripts/xupdate/xupdate.pl 2003/04/24 21:07:36 1.1 +++ joko/Scripts/xupdate/xupdate.pl 2003/04/25 12:35:23 1.2 @@ -1,9 +1,13 @@ #!/usr/bin/perl ## ------------------------------------------------------------------------- -## $Id: xupdate.pl,v 1.1 2003/04/24 21:07:36 joko Exp $ +## $Id: xupdate.pl,v 1.2 2003/04/25 12:35:23 joko Exp $ ## ------------------------------------------------------------------------- ## $Log: xupdate.pl,v $ +## 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 +35,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 +47,8 @@ Q: Can we mimic/use the interface of the - already established - 'xupdate' program??? + Q: Should we follow the CRUD path first? + =cut @@ -101,39 +107,61 @@ - - + + - + - - - + - - node - begin - - - + + + + - - + + + - - - - - - node - end - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + @@ -141,7 +169,8 @@ - + + @@ -157,19 +186,32 @@ - - - - + + + + + + + + + + + node - begin + + - + + - - - + + - + + + + node - end +