A.N Deepak wrote:

>Hi,
>Thanx for the info. Bu  i have some more clarifications
>Here you define namespace as a string but the Uri needs a namespace object.
>How do I get that ?
>
    Use the retrieved NamespaceAcessToken 'nat' and the SlideToken 'st' 
like that:

    String uri = "/files/myfile.html" ;
    Structure structure = nat.getStructureHelper() ;
    try {
        ObjectNode object = structure.retrieve( st, uri ) ;
    }
    catch ( org.apache.slide.common.SlideException e )
    {
        // Retrieval failed: Handle Error
    }
   

    l8r...
        Thomas






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to