XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Philipp SalvisbergSubject: Support Grid View for XML fragments
Author: Philipp Salvisberg
Date: 09 May 2013 07:42 AM
Hi,

I've just stared to use Stylus Studio to develop Xqueries in conjunction with Oracle's XMLTABLE function in the database. For that I produce a flat XML sequence similar to the following:

<result value1="a1" value2="b1" value3="c1"/>
<result value1="a2" value2="b2" value3="c2"/>
<result value1="a3" value2="b3" value3="c3"/>
<result value1="a4" value2="b4" value3="c4"/>

I know this is not a valid document, but it'll be nice if Stylus Studio could handle that nonetheless. E.g to format the result and to present it in a grid view.

As a workaround I currently copy the Xquery preview result over to Altova XMLSpy to view the result in a grid. - It's easier than to add a node every time.

Thank you very much!

Postnext
Ivan PedruzziSubject: Support Grid View for XML fragments
Author: Ivan Pedruzzi
Date: 09 May 2013 10:47 AM

Hi Philip,

The XML Editor Tree and Grid views are designed for well-formed XML, they require a DOM.

The XQuery Editor Text and Tree preview windows, when running with Saxon, can render a sequence.

If I understand your requirements, you want to make sure to generate a valid sequence. See the screenshot attached, you could also set the Scenario's output URL to save the result on each run.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
Philipp SalvisbergSubject: Support Grid View for XML fragments
Author: Philipp Salvisberg
Date: 09 May 2013 11:11 AM
Hi Ivan,

Thank you for the fast answer. - Your input helped. I've changed the settings to ensure that every sequence is printed on a new line. In most cases this is indeed sufficient to verify the result visually.

I agree that based on these settings I may render the result with everything which is callable via command line interface.

However, visualizing sequences in a grid is still something which is missing in Stylus Studio (that's why I posted this in the "feature request thread"), but I may live with the workaround to use XMLSpy for that purpose.

Thanks!
Best Regards

Philipp

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.