Hi, hope some of you Perl folks might be able to help
Problem:
I have a string that contains an expression.
An expression can be: one or more variables, one or more operators, another variable (or number).
So my expression looks like this (for example):
-20.0 * pvs_variable1 + pvs_variable2...
a closely related question...
What if an element is optional?
How can XSTL check for the existence of an element (that can appear 0, 1 or many times in the XML)?
I'm asking this because I typically create a table where each row describes an element, but I want to skip the table all together if...
Hi,
I've been asked to select an XML/XSLT training course on DVD for my company. I found quite a few training courses and I'm wondering if you have any recommendations. We are located in the Detroit area and are also interested in potentially having a training course with an instructor for a day...
By "Fixed" I mean that I can decide the type of all the elements in the XML file -> I know what they are.
Most are real numbers, some are integers, some are enums.
In my mind real values map to numerical fields, enums map to option menus (containing all the allowable choices), booleans map to...
Hi again,
I was wondering if I'm off here thinking that a browser can be used to edit XML files.
Someone at work suggested this route:
XSLT - > to transform the XML file into a HTML code with appropriate forms (Xforms seems to be the way editable information is presented in a browser).
-...
Haha!
I wish.
No: I should have said "I want" to do a feasibility study.
I work for a software company and I would like to support some legacy products that are using XML as data representation. I just don't have the resources to create a proper XML editor from scratch, so I'm looking for a...
Thanks for your answer.
I think I understand what you are suggesting.
There is no need for server side implementation since everything is done on local machines.
I think that I can try to spend some time on:
XSLT - > to transform the XML file into a HTML code with appropriate forms
Javascript...
Hi all, and thanks for reading.
I have very little XML/Web experience and I have to do a feasibility study on a editor that reads/writes XML files.
The XML files are "fixed" in other words all the elements and attributes are known.
Some of the elements and attributes must be editable and I'm...
Hi and thanks for your reply.
I think I didn't explain myself clearly enough.
I am not looking for a user interface to edit XML files (I did try the altova product and it's certainly valid). I'm trying to find out if IE or Firefox browser itself can be used as a UI for loading and editing...
Hi and thanks for reading.
I have very little XML/Web experience and I have to do a feasibility study on a editor that reads/writes XML files.
The XML files are "fixed" in other words all the elements and attributes are known.
Some of the elements and attributes must be editable and I'm trying...
Hi guys,
I'm parsing a string and I'd like to extract some relevant information in a TCL.
The string:
rev_lca connects lower_control_arm with subframe (Force) 2 lca_front lca_rear
the portions in red is what I'm after, the rest is junk...
Now I can do this:
set...
OK. I follow you.
I used regex because (I think) it automatically sets the variable for the matches that it finds.
If I use your approach and do this:
set line " USAGE = 'entity_name'"
set list1 [split $line " "]
and want to extract the string entity_name I have to remove...
With someone's help I was able to get what I wanted:
here is the solution:
if {[string compare $u sub] == 0} {
set raw [open $file r]
while {![eof $raw] } {
gets $raw line
if { [regexp \...
Hi folks and thanks for reading.
I am a newbie in both TCL and REGEX (ugh...lots to learn), so please be forgiving.
I did my research but couldn't find a match (hehe!) of what i need to do.
The problem:
I have a file that I'm parsing line by line in TCL
The file looks like this:
'point1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.