Hi, On Saturday 27 August 2011, meik michalke wrote: > there's only one more thing which is so not working... it's reading XML > nodes which have a text value with embedded other XML nodes. and non-empty > tags without value or children turn into empty tags, i need to preserve > that type info someway. but these are probably not issues for RKWard > anyway.
I have not actually looked at your package, yet. So this is just a blind guess, but two suggestions: 1) You could treat text fragments as a sort of "pseudo" node, and keep them in the same list. Perhaps you'd keep one list of true child elements, and one list of all child fragments, where fragments can either be plain character, or a tag representation. 2) The text representation could simply strip all child tags. See e.g. http://doc.qt.nokia.com/4.6/qdomelement.html#text . Certainly not ideal, but it could be a start. > compared to the XML package this one's really primitve, i don't know if > it's meant for CRAN? Well, given that there are installation problems with the XML package, I could certainly imagine there is a demand for a simple XML package, which may not cover everything, but "just works". Regards Thomas
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel