xml editor

   XML Editor
   XML Author
      DITA Editor
      DocBook Editor
      TEI Editor
      XHTML Editor
      Schema Editor
      XML Schema Editor
      RelaxNG Editor
   XQuery
   SVN Client
      Office Open XML
      XSL:FO Editor
      SVG Editor
      WSDL Editor
Supported platforms
Compatible with Windows7 & Mac OS X Snow Leopard
Ready for
data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Recursively generated menus in XSL and Cocoon


Subject: [xsl] Recursively generated menus in XSL and Cocoon
From: Matt Rich <mattaios@xxxxxxxxxx>
Date: Wed, 1 Sep 2004 16:03:01 +0200

Hello !

I'm developing a database interrogation user interface in XML/XSL with Cocoon.

The user having selected a request , the system generates a page on which he has to select
values for the requests' parameters .


For each single parameter, there is a number of values I select from the database through subrequests,
in order to generate a dropdown menu, for the user to choose between them.
All data for the subrequests' generation come from a XML file


There is never the same number of parameters , so I use a recursive template
to generate each subrequest


Is it possible to use the values selected from a thus generated menu ,
to modify the values proposed by another such menu, through a javascript function like 'Onchange'?


For example,
with two menus , 'Collection' and 'Types':

if I select collection number '1',
could it be possible to re-generate the following menu, so as to display only the types that are represented in the collection number '1'?


(I personally doubt this is possible, based on past experience)

What's your opinion?

Many thanks for every answer!!

Matt


Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2009 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor