[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Mapping node references in/out of DOM?

Subject: Re: Mapping node references in/out of DOM?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 4 Jan 2001 21:40:12 -0800 (PST)
xml node references
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.