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

Re: Guidelines on marking up data using XML/XSL

Subject: Re: Guidelines on marking up data using XML/XSL
From: Francois Belanger <francois@xxxxxxxxxxx>
Date: Thu, 30 Apr 98 09:55:19 -0400
francois belanger
Kent Fitch wrote on 30/04/98 00:15:

>Yes, but that is probably implementation dependent - functions
>to access attributes could be very efficient depending on the
>data structures used by the XSL processor.

However you implement it, it's still within an eval, so it means 
validating, compiling, and executing the code just to access the 
attribute value. All this for a simple My name is 
<eval>getAttribute("name")</eval>. I don't how you can get away from it 
without resorting to tricks.

Why not add <attrib type="name"/> to XSL spec? 

It would let people choose between storing data in attributes or content 
in respect to their perpeption of the content, not about how it may 
affect performance.  More complex access should still be done with eval 
like My parent name is <eval>this.parent.getAttribute("name")</eval>

I'd like to hear from the W3C group about this.

Francois Belanger
Sitepak, Bringing Internet Business into Focus

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.