[xsl] an elements schema context via xslt

Subject: [xsl] an elements schema context via xslt
From: Jan Limpens <jan.limpens@xxxxxxxxx>
Date: Thu, 30 Jun 2005 12:44:08 -0300
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

--
Jan
http://www.limpens.com

Otakoo Saloon Cartoon - newest episode at http://otakoo-saloon-cartoon.com

Current Thread