Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. apertosa

    regex help

    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...
  2. apertosa

    xslt help with optional attribute

    Appreciate your help! Thanks!
  3. apertosa

    xslt help with optional attribute

    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...
  4. apertosa

    looking for XML training

    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...
  5. apertosa

    Javascript to edit an XML file

    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...
  6. apertosa

    Javascript to edit an XML file

    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). -...
  7. apertosa

    Javascript to edit an XML file

    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...
  8. apertosa

    UI for editing XML files

    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...
  9. apertosa

    Javascript to edit an XML file

    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...
  10. apertosa

    UI for editing XML files

    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...
  11. apertosa

    UI for editing XML files

    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...
  12. apertosa

    string manipulation (ignoring portion of a string)

    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...
  13. apertosa

    regex in tcl script

    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...
  14. apertosa

    regex in tcl script

    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 \...
  15. apertosa

    regex in tcl script

    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...

Part and Inventory Search

Back
Top