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

Re: How to 'execute' a table without manually converti

Subject: Re: How to 'execute' a table without manually converting it to a bunch of nested if-then-else statements?
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Feb 2023 18:28:15 -0000
Re:  How to 'execute' a table without manually converti
On Sun, Feb 19, 2023 at 06:20:34PM -0000, Roger L Costello
costello@xxxxxxxxx scripsit:
> By "better" I mean more assuredness that the code
> faithfully/accurately encodes the table.

First thing is "is there a function already?"

For example, there's no general printf in XPath, but there are
format-date(), format-integer(), and format-number().

> So, what I seek from you is this: How do *you* translate tables into code? Do
> you have a way that is 100% guaranteed to faithfully/accurately encode the
> table?

Generally, maps.  Sometimes maps-of-maps.

-- Graydon

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.