473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

evaluating an expression imported from an external XML file

FC
Hello folks,
I need to calculate an expression located in an external XML source file,
more precisely inside an attribute.
In other terms, I am wondering if it is possible to write an expression
inside an attribute and let it be evaluated at a later time by some XSLT
transformation when any parameters can be replaced by the corresponding
values.
I'd be very happy if I could just evaluate an expression made up entirely of
literal values, I can handle the parameter substitution myself.

To make an example:

having an element <SOME value="x + 2"/>
I would like to evaluate the "x + 2" inside my transformation, once I know
the current value of "x".

Anyone out there who solved a similar problem?

Bye,
Flavio


Jul 20 '05 #1
0 1282

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: R | last post by:
Hello everybody. I've got problem with preserving whitespaces: $doc->preserveWhiteSpace = false; works fine up to the point when I try to load external XML file. // up to this point...
8
by: Sharp | last post by:
Hello, I get imported a file txt into access. Name and surname are formatted like this: SURNAME/NAME. I would like to import or format it without those "/". How can I do? Thanks for reply
3
by: pemigh | last post by:
A while back I imported tables to a new database via Files-->Get External Data --> Import... All was well for several months, and then the database started behaving badly in a couple of ways,...
6
by: markoniinimaki | last post by:
Hi, suppose I get a document name a.xml and a path //foo/bar (which nodes eventually to read from it) from another doc. Problem: how to combine them so that the whole expression gets...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
2
by: linuxadmin | last post by:
Hello everyone! I evaluate XPath expressions using XPathNavigator and need to know for each result, which line number (or et least file position) it has inside the XML file. Any ideas? ...
3
by: Stef Mientki | last post by:
hello, I'm trying to create a high level debugger, based on rpd2. So when the debugger enters a breakpoint, I want to display the values of all variables in the, let's say, 5 lines above the...
4
by: Mohamed Yousef | last post by:
On Sun, Aug 24, 2008 at 9:59 AM, Fredrik Lundh <fredrik@pythonware.comwrote: why isn't it a good thing (even if optional) consider the sitution in which a utility module is used every where else -...
6
by: eureka2050 | last post by:
Hi, I am a PHP coder, recently ran into a bit of a problem trying to evaluate expressions in PHP. I have an expression which is stored in a string variable and when I try to evaluate it, it...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.