BaseX and 'view'?
Tuesday, 8 February 2022 · 2 messages · last reply 9 Feb 2022
BE
Ben Engbers8 Feb 2022 16:23 #
Hi,
I am writing a blog for R-bloggers with the aim of raising awareness of my RbaseX package. The latest version is super fast! Loading and saving 740 xml documents from the R environment took only 34 seconds! Before I can use those documents I will probably have to convert them using xsl.
I was wondering if BaseX, like Oracle, also has a 'view' over the original data? I can then define multiple views that are better adapted to the intended use.
ben
EK
Eliot Kimber9 Feb 2022 14:31 #
The short answer to your question is “yes”, you can create whatever views you want over your content.
This is what I’m doing in my Validation Dashboard application, where I construct new documents that serve as indexes or views over other documents, capturing the result of time-consuming data processing applied to the base documents.
In my case, I have a body of source documents (DITA maps and topics) and validation reports over those documents generated by OxygenXML (also XML documents).
I load the source documents and the validation reports and then generate an index that correlates issues in the validation report to top-level DITA maps that ultimately refer to the topics and maps individual issues apply to. The report issues record the file system path of the documents, so I have code that converts those references into BaseX node IDs for fast indexing and retrieval.
Using this issue-to-dita-map index I can then present reports of issues by dita map, as well as other summaries of the validation issues (i.e., issues by problem code, severity, etc.)
Cheers,
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
Quoted text · BaseX-Talk · 15 lines
From: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of Ben Engbers <ben.engbers at gmail.com> Date: Tuesday, February 8, 2022 at 9:23 AM To: Basex Mail-lijst <basex-talk at mailman.uni-konstanz.de> Subject: [basex-talk] BaseX and 'view'? [External Email] Hi, I am writing a blog for R-bloggers with the aim of raising awareness of my RbaseX package. The latest version is super fast! Loading and saving 740 xml documents from the R environment took only 34 seconds! Before I can use those documents I will probably have to convert them using xsl. I was wondering if BaseX, like Oracle, also has a 'view' over the original data? I can then define multiple views that are better adapted to the intended use. ben
Written for BaseX 9.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery