Skip to Content
author's profile photo Former Member
Former Member

Query specification

Hi guys,

I am using the Restful SDK to get the dataproviders query specification (http://server:6405/biprws/raylight/v1/documents/{ID}/dataproviders/DP0/specification). The result XML is something like this:

<queryspec:QuerySpec xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:parameter="http://com.sap.sl.parameter" xmlns:queryspec="http://com.sap.sl.queryspec" dataProviderId="DP0">

<queryParameters>

</queryParameters>

<queriesTree xsi:type="queryspec:QueryOperatorNode" queryOperator="Union">

<children xsi:type="queryspec:QueryDataNode">

<bOQuery name="Query" identifier="_DQwTUS-BEeWGVJVUo9we">

<resultObjects identifier="DS0.DO4fc" name="asdasdad"/>

<conditionPart>

<conditionTree xsi:type="queryspec:ConditionOperatorNode" logicalOperator="And">

</conditionTree>

</conditionPart>

</bOQuery>

</children>

</queriesTree>

</queryspec:QuerySpec>

I have to parse this XML to identify all the universe objects used by the document (result objects and conditions too). Where can I find the formal schema/specification/documentation for this XML?

Are there any good examples available, to parse this XML?

Thx.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 14, 2016 at 01:01 PM

    Hello,

    Just be careful because all result objects may not be used in the document.

    I think there is no particular documentation of the query specification. The format is the same used by IDT (Information Design Tool).

    Best regards,

    Anthony

    Add a comment
    10|10000 characters needed characters exceeded

    • Ok, I understand the purpose of your application and I agree with your checks! 😊

      About the query specification (QS) format, we have a action item in our backlog to add also the support of the QS format (XML/JSON) used in SL RESTful API. But I can't say when it will be available... :-/

      Regards,

      Anthony

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.