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)
-> + Round-trip Converting; CSV-XML... (2)
-> + XSL error function call PHP (8)
-> + WYSIWYG XSLT Designer (5)
-> + generate xhtml+css from xml re... (2)
-> + generate xhtml+css from xml re... (3)
-> + generate xhtml+css from xml re... (2)
-> - Help using xsd xs:redefine nee... (1)
-> + Data loss opening External sch... (2)
-> + Install Apache FOP Plugin with... (8)
-> + Generating a Publisher Canvas ... (2)
-> + Stylus Studio comment block no... (3)
-> + Report Designer Screen Repaint... (5)
-> + validating on values (5)
-> + reuse of xslt (2)
-> + The evaluation period for the ... (2)
-> + export to documentation (3)
-> + Validating XML files using sev... (2)
-> + Missing 'Command' Tab in Custo... (3)
-> + Do I have to download new vers... (6)
-> + Can SS validate tags used in a... (5)
-- 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.