[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to declaratively describe a mapping that invol
Hi Roger, On Tue, Mar 12, 2024 at 6:51b/PM Roger L Costello costello@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: I do not know how to declaratively describe the other part of the mapping > -- map dddd to ddd.d (where d = digit) > > How do I declaratively describe this mapping? > Perhaps, one of the way to specify above mentioned kind of XML document src to target formats mapping, may be like following, <digitStrMapping minNoOfDigits="1" maxNoOfDigits="5"> <old> <decimalPosition>NA</decimalPosition> </old> <new> <decimalPosition towardsRight="true">1</decimalPosition> </new> </digitStrMapping> An XSLT stylesheet then needs to read the above mentioned XML mapping specification, to perform its XSL transformation tasks. I definitely think, that other XML mapping specification formats for this requirement can be thought about. -- Regards, Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|