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)
- Stylus Studio Technical Forum (14621)
-> + validating schemas (2)
-> - Off-Topic Question - Looking f... (4)
-> ->Off-Topic Question - Look...
-> ->Off-Topic Question - Look...
-> ->Off-Topic Question - Look...
-> + cannot see anything in mapper ... (2)
-> + Validating XSD schema sets (7)
-> + Standard Validation Engines (3)
-> + Style Sheet amendment to inclu... (2)
-> + Documentation - prevent import... (3)
-> + Debugging breakpoints with Sax... (17)
-> + Conversion (3)
-> + New and I am sure this is an e... (7)
-> + Saxon 8 with multiple xml inpu... (3)
-> + Compilation error (5)
-> + webservice call failing - pls ... (3)
-> + C# from Java Binding Classes (3)
-> + Java binding class generation (5)
-> + Validation of deeply-nested sc... (5)
-> + How to make Drag and drop in X... (2)
-> + Malformed XPATH expression par... (5)
-> + Toolbars and missing options (4)
-> + Converting Text File (2)
-- Previous [1561-1580] [1581-1600] [1601-1620] Next
+ 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
(Deleted User) Subject: Off-Topic Question - Looking for an XSD Dependency Graph utility
Author: (Deleted User)
Date: 28 Jun 2007 08:59 AM
Originally Posted: 28 Jun 2007 04:15 AM
This is off-topic (not Stylus Studio related), but I hope it's OK and might give me some leads or ideas. And, might be useful for other people lurking here.

I'm looking for a utility that will generate both a well-laid-out dependency graph for XSDs in a schema set, and (even more useful, for my purpose) a utility that will traverse the dependency chain/tree and generate a simple text list (preferably with additional info like include/import/ext, parent-child, etc).

I had a play around with Altova's SchemaAgent (a good product, as far as it goes - with links to other XML Spy stuff).

But it doesn't do text output or reports of the type that I think would be really useful. The "vNext" will have a more sensible graphics format for output, and they say that some of the suggestions I made are being considered, but even at $129 it's a bit of a toy.

Anyway, if anyone here has suggestions about tools that might give dependency lists (or graphs), please let me know.

Ian

[Edited] How did the Subject come out as Office-topic? AAAGH! ]

Postnext
(Deleted User) Subject: Off-Topic Question - Looking for an XSD Dependency Graph utility
Author: (Deleted User)
Date: 28 Jun 2007 09:41 AM
With a careful search, i find that there are some open source projects and commercial products that do this, to varying degrees of conformance with what would be useful to me.

Ian

Postnext
Tony LavinioSubject: Off-Topic Question - Looking for an XSD Dependency Graph utility
Author: Tony Lavinio
Date: 28 Jun 2007 09:57 AM
Since XML Schema files are themselves XML, it shouldn't be hard
to write code that traverses the schema tree, just selecting on
xs:import and xs:include and xs:redefine.

The only trick will be catching recursion.

Posttop
(Deleted User) Subject: Off-Topic Question - Looking for an XSD Dependency Graph utility
Author: (Deleted User)
Date: 28 Jun 2007 10:21 AM
Originally Posted: 28 Jun 2007 10:19 AM
Yes, I wrote something reasonably useful myself, in .NET, a few weeks ago.

The recursion is a fairly standard thing to watch out for, and for a text-only report I can do this.

But there are quite sophisticated algorithms for doing this efficiently (generic), and to render a nice graphic is more difficult. I haven't done that.

You probably don't use (Lutz Roeder's) Reflector, a .NET program for investigating .NET assemblies. There are nice add_ins that 'reverse engineer' .NET prgs to reveal such relationships, including 2 that display this in a graphical form.

It would be nice to reveal the same, for XSD files with a common parentage.

I think there are better utilities available, and I continue to look for them.

Ian T.

   
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.