You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ingo Brunberg <ib...@fiz-chemie.de> on 2004/01/05 12:52:05 UTC

Re: retrieve old revision

I fear I didn't understand exactly what you mean. Property has two
different methods to obtain property values:

1) getPropertyAsString() just returns all the text nodes which are
   children of the property element concatenated as one string. In
   your example this results in an empty string of course.

2) getElement() returns the property as a full featured DOM
   element. So you can extract the desired information by standard DOM
   methods.

Regards,
Ingo

> Hello,
> 
> I'm using the slide wedav libs to manipulate a subversion dav repository,=20
> unfortuantely Property doesn't seem to handle property elements which=20
> themselves contain sub-elements, as below (the result of a PROPFIND):
> 
> <version-controlled-configuration xmlns=3D"DAV:">
> 	<href xmlns=3D"DAV:">/sammel/!svn/vcc/default</href>
> </version-controlled-configuration>
> 
> Apparently there is some confusion as to whether this is legal.  In any eve=
> nt,=20
> would more correct behavior for DOMUtils to return some indicator of this=20
> content, instead of the empty string it returns now?
> 
> 
> =2D --=20
> McClain Looney
> LoonSoft LLC
> m@loonsoft.com


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org