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
Conferences Close Tree View
- Stylus Studio Feature Requests (1192)
-> + Have lost Stylus Studio licens... (3)
-> + XTDE1425: Cannot find a matchi... (2)
-> - Flatten Schema XSD (1)
-> + NEED TO RUN THE CONVERSIONS ON... (2)
-> + Generate different combination... (3)
-> + Display Full Path to File in T... (3)
-> + Conversion from a custom XML f... (2)
-> + memory management (3)
-> + Stylus Studio Pro x15 unattend... (5)
-> - Allow copying file URL from Pr... (1)
-> - Undocking and resizing preview... (1)
-> - Stylus Studio and DataDirect (1)
-> + Basic Navigation in UI (2)
-> - Support Grid View for XML frag... (3)
-> ->Support Grid View for XML...
-> ->Support Grid View for XML...
-> + Some requests from a power use... (7)
-> - Enable Selecting installation ... (1)
-> + Enumeration drop down in grid ... (3)
-> + Showfull path of node at curre... (2)
-> + SSL Connection failure: javax.... (2)
-> + Can Stylus Studio generate X12... (2)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.