On Tuesday 06 March 2007 10:01:42 Yann Mauon wrote:
> As shown in some examples, I have implemented a short java code to read SDF
> files:
>
>           sdfile= new BufferedReader (new FileReader(new File(fileName)));
>
>           //use the CDK reader to extract an interating of molecule
>           Iterator iterator = new
> IteratingMDLReader(sdfile,DefaultChemObjectBuilder.getInstance());
>
> But have some trouble to benefit of the iterating reader to parse xml and
> asn files. Is there a way to do that ? To have a more generic iterating
> reader ?

What XML are you talking about here? CML, or the XML MDL SD file variant? The 
latter we do not support in the CDK at this moment.

Egon

-- 
CUBIC
blog: http://chem-bla-ics.blogspot.com/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to