简体   繁体   中英

which xml parser is better for parsing Mondrian Schema

Currently our Mondrian Schema values held within *.xml file. We need to extend some information from this schema and held them in a java Object.

What is the best/simplest library to use in order to read in values from this file?

There are a lot of options. Mondrian uses Apache VFS to fetch the schemas, so you can implement your own file handle (something like myhandler://mondrian_schemas/my_schema.xml).

If you're managing your Mondrian instance through the MondrianServer API, you can pass your own implementations of a couple needed SPIs and get very deep control on which definition file is used and what the URLs to these files return. A basic example is shown here , in the first part.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM