Khaled,

Not sure what you're asking. FOXML is an XML serialization of a Fedora object. 
So, for a given API-M operation that modifies a Fedora object, yes, you are in 
effect updating an object's FOXML representation.

If you're looking for something that lets you create or modify FOXML on the 
client side, then no, API-M won't do that for you. If you're using Java, 
there's a org.fcrepo.utilities.Foxml11Document utility class that is included 
in the fcrepo-server.jar which let's you generate FOXML documents 
programmatically. I wrote that mostly for building test objects (see 
ResourceIndexRebuilderTest and TestManagedDatastreams classes for example 
usage). 

Depends on what your requirements and uses are, but I like building Fedora 
objects programmatically using the REST API (e.g., ingest empty object, then 
issue a series of requests to add/modify datastreams or properties).

On 17 Jun 2010, at 3:08 PM, Khaled Almahallawy wrote:

> Is it feasible to update object’s FOXML using API-M? if yes how? If no, what 
> can I do?
>  
> Regards,
> Khaled
>  
>  
>  
>  
>  
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to