X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=xml-utils.lisp;h=756d3393021635efedb68a22d9b3af9c76143551;hb=3c216f36d9d869356906b07c0214f986af0fb22b;hp=223b9c8afaa1817ef2fb7eda24c15a370c776bfd;hpb=64ab2587ad0923623832012abd1b8b2cf5a11a84;p=kmrcl.git diff --git a/xml-utils.lisp b/xml-utils.lisp index 223b9c8..756d339 100644 --- a/xml-utils.lisp +++ b/xml-utils.lisp @@ -7,17 +7,17 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: xml-utils.lisp,v 1.3 2002/10/09 14:24:47 kevin Exp $ +;;;; $Id: xml-utils.lisp,v 1.5 2002/11/25 07:45:36 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; -;;;; Kmrcl users are granted the rights to distribute and use this software -;;;; as governed by the terms of the GNU General Public License. +;;;; KMRCL users are granted the rights to distribute and use this software +;;;; as governed by the terms of the Lisp Lesser GNU Public License +;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* (in-package :kmrcl) - -(declaim (optimize (speed 3) (safety 1))) +(declaim (optimize (speed 3) (safety 1) (compilation-speed 0) (debug 3))) (defun wrap-with-xml (str entity) @@ -28,10 +28,13 @@ ;;; XML Extraction Functions +#| +#+allegro (require :pxml) #+allegro (defun parse-xml-no-ws (str) "Return list structure of XML string with removing whitespace strings" (remove-tree-if #'string-ws? (parse-xml str))) +|# (defun positions-xml-tag-contents (tag xmlstr &optional (start-xmlstr 0) (end-xmlstr nil)) "Returns three values: the start and end positions of contents between