[XQZone General] Links

Farshad Farzan farshad at intelmeas.com
Fri Jul 15 11:56:53 PDT 2005


I created link between two files in two separate directories,

import module namespace lnk = "http://marklogic.com/cpf/links" 
		  at "/MarkLogic/cpf/links.xqy"

  lnk:create( "/dir1/file1.xml", "/dir2/file2.xml", 
              "source", "conversion", "strong" ) 


Then , I removed the file1 using webdav  or using xdmp:delete , 

I see that file1 is gone but file2 is still there. , I tried to delete the
link and the link was not there.. , So it removed the link but not the file
that was linked to it .!! while the documentation says:

The Content Processing Framework will use links to determine if related
documents should also be removed when a document is deleted from the
database.





More information about the General mailing list