Re: [xsl] an elements schema context via xslt

Subject: Re: [xsl] an elements schema context via xslt
From: George Cristian Bina <george@xxxxxxx>
Date: Thu, 30 Jun 2005 19:16:40 +0300
Hi Jan,

That is not impossible, see the XS3P [1] project that generates schema documentation. That is basically a stylesheet that is applied on the schema, but it is not a simple stylesheet so I think that will not qualify as a reasonable amount of code.

[1] http://titanium.dstc.edu.au/xml/xs3p

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Jan Limpens wrote:
Hi everyone,

I wonder if it is possible (with a reasonable amount of code) to find
out (given a xml document, the xpath to an element in this doc and the
schema (xsd) document upon which the document is/was created), to find
out which are the possible child- (and sibling- and attribute-)
elements for the given element - using xslt. I am building a web based
xml source editor for xml files and would like to provide some
intellisense - alike functionality.

I am using the .net xslt transformer, but could also use the saxon.net
port if that would help in this situation.

If I am just missing something simple to do this imperatively (by
coding c#), I'd be also happy to hear. :)

Thanks a lot

Current Thread