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

RE: I have the XSLT, now need to make it usable as use

Subject: RE: I have the XSLT, now need to make it usable as user-inp ut form?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 22 Apr 2003 14:53:59 -0400
xslt variable sort
[Kathy Burke]
> 
> Tom, I can see what your javascript would accomplish (exactly 
> what I need).
> Would I need to create a var for EACH element that captures 
> user input? or
> one that would create the xml_string dynamically using the 
> @name and other
> @s of each element? Just wondering...not too strong on 
> javascript...mostly
> vb basics...I'm just trying to torture myself with this project!
> 

I usually just create a single string variable and keep building it up
until it is done.  Once in a while it is useful to create a second
variable, sort of a working buffer.  If you end up building a long
string with lots of pieces, it can start to get slow (because of all the
memory allocations that go on behind the scenes) and there is a good
work-around which is fast.  If that happens, which is unlikely unless
your page gets really complicated, you can email me off-list.

Of course, you can do the same things in vb as well, but I am sure it
will be easier and more readable in javascript.

I notice that you keep saying "@name", suggesting that you mean to use
attributes.  If so, you would have to modify my code a bit, but that
would be easy (javascript has a nice data structure that is good for
this).  Again, you can email me off list (or I can put it on-list if
anyone else is interested, but it is getting reather OT)

Cheers,

Tom P

 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.