Re: [Simple-support] Custom Referencing
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-01-27 11:23:42
|
Not sure exactly what the problem is here. But if the CycleStrategy does not work then just write your own strategy, e.g DusansNewCycleStategy, the implementation of the CycleStrategy can just be cut and pasted with modifications. --- On Thu, 27/1/11, Dušan Maliarik <dus...@gm...> wrote: From: Dušan Maliarik <dus...@gm...> Subject: [Simple-support] Custom Referencing To: sim...@li... Received: Thursday, 27 January, 2011, 3:07 AM Hi all, I chose simple for my android application for parsing COLLADA assets. They use object definition / reference schema, so I attempted to use CycleStrategy to ease the pain of traversing the object graph. I failed because in COLLADA schema, anyURI is used for referencing, which implies using hash (#) character in front of IDs. <geometry id="foo">...</geometry> and then <instance_geometry url="#foo">...</instance> I need to both resolve this reference, and have access to the child elements of instance_geometry. I haven't found a suitable place in simple to extend/override. What would be the most convenient solution to this problem in simple XML? -- +Best regards, Dušan Maliarik // cell: +31646233420+ -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |