onix

Bulk filter & parse ONIX data (XML) in Excel

﹥>﹥吖頭↗ 提交于 2019-12-25 00:33:09
问题 I have 3000 ONIX-style xml URLs with book metadata. I would like to filter a few nodes out of these files and parse them into Excel rows in a single worksheet. This is an example of a XML-path: http://btsoep.appspot.com/rest/book/9789082516425 I would like to filter this XML data on things as <Product> <Title> <TitleText> and <Product> <Contributor> <PersonName> I need the retrieved Data in an Excel worksheet where every URL has it's own row. So the URLs are in row A, TitleText is in row B

Deserializing relative path XML

我的未来我决定 提交于 2019-12-11 08:46:10
问题 In C# I would like to deserialize some Xml where the relative location is important. The following Xml is from a book standard called Onix: <Stock> <OnHand>1</OnHand> <Proximity>xx</Proximity> <Reserved>2</Reserved> <Proximity>yy</Proximity> <OnOrder>3</OnOrder> <Proximity>zz</Proximity> <Cbo>4</Cbo> <Proximity>zz</Proximity> </Stock> As you can see every 2nd line is called "Proximity". These fields goes with the field above. If all fields were mandatory then it would be no problem, and the