[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Mapping node references in/out of DOM?
Subject: Re: [xsl] Mapping node references in/out of DOM? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Thu, 4 Jan 2001 21:40:12 -0800 (PST) |
Hi Jeff, I guess that using the string produced by generate-id() will be OK. In case that on different invocations the XSLT processor produces different values for generate-id(theSameNode) (which I think is very unlikely), then you could use something else that is unique and will be invariant accross invocations of the XSLT processor -- e.g. the XPath expression locating exactly this single node in the xml document. Cheers, Dimitre. Jeff Saylor wrote: Everyone, I'm looking at presenting an arbitrary XML Hierarchy to a user in a UI where they will select an element from it. I am looking for ideas on how to map the UI elements back to DOM elements. In other words - output the DOM to a UI with some sort of mapping so that when the user visually selects an element in the UI, I can easily locate the selected element in the DOM. The obvious answer is to pre-populate all the DOM elements with unique keys, but this will prove difficult in my situation - instead, I need something I can do at runtime... Ideas, comments, and suggestions are greatly appreciated in advance! Most Sincerely, Cheers, Jeffrey J. Saylor Senior Internet Developer Wizard Finance Systems 707 Mendham Blvd., Suite 104 Orlando, FL 32825 Phone: (407) 262-9000 Ext 266 Fax: (407) 262-9010 Email: jsaylor@xxxxxxxxxxxxxxxxx <mailto:jsaylor@xxxxxxxxxxxxxxxxx> __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Mapping node references in/ou, Jeff Saylor | Thread | [xsl] Announce: Xsldoc 0.92 Availab, Rick Maddy |
Re: [xsl] Grouping & Muenchian Meth, Albert Tsun | Date | [xsl] Finding the maximun number of, Michael Lee |
Month |