Sebastian Kannengiesser wrote: > Guys, thanx for all your tips. Especially the getXMLEncoded thing is nice to > know of. But in my case, the document is not found with that statement, i.e. > the foreach loop is not even iterated once. > > I understand there must be a way, otherwise, how could the Orphaned pages > code find the document. I will try a little more and let you know, when and > how I got successful.
Maybe the document name does not have that fragment. Just look at all the document names and see which one looks broken: #foreach($i in $xwiki.searchDocuments(" where 1=1 ")) * $xwiki.getXMLEncoded($i) #end -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users