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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by comma

  1. comma

    Conditional XPath query - is it possible

    Hi, I was wondering if it's possible to do conditional queries with XPath 1.0 or 2.0? We can have queries defined with union operator like this: E.g. if we would have the following XML -structure: <documentRoot> <!-- Test data --> <?value="2"?> <parent name="data" > <child id="1"...
  2. comma

    XML::XPath and using multiple documents with one instance

    Hi, I'm using XML::XPath in one of my Perl program. Actually I use in inside of one of the objects used by the program for parsing XML -documents. The library is doing very well on XML -parsing, but I would need to parse several different documents and I now create and delete XML::XPath...
  3. comma

    Embedding and calling Perl from C++

    Hi, Thank you! Yes, a "system" -call is possible to use and it works with that. I was still wondering about exchanging information between C/C++ and Perl. Of course one possibility would be using SOAP, but that might add some overhead. Is it possible to capture output from "system" command...
  4. comma

    Embedding and calling Perl from C++

    Hi, I'm trying to access Perl (subroutine) from C++ -program and seems that perlembed would be a good choise for that. I just would simply need to ivoke Perl, run script/call sub and then clean-up and continue in C++ program. I've tried to run examples from...
  5. comma

    Saving form data to XML-file while preserving the order of elements

    Hi, I'm quite new to CGI and currently learning it. I would be interested on how the following issue would be possible to handle with web form. If I have for example a following type of contents in an XML -file: <sequence> <step> <execute>backup files</execute> </step> <step>...
  6. comma

    Recording sound from microphone under Windows

    I have been looking for examples or articles whether it would be possible to record sound from microphone under Windows. I popped to Win32:MultiMedia -package, and I have been looking for examples for it on how to use it on sound recording to wav-file. Is it possible with Win32::Multimedia or...
  7. comma

    Applying one or more XSL -stylesheets to XML on client side

    Problem solved or at least one method was found. I added a stylesheet href to the beginning of document, which is default stylesheet (<?xml-stylesheet href="default_style.xsl" type="text/xsl"?>) and then I made second XML -file, which contains only stylesheet definition to extra stylesheet and...
  8. comma

    Applying one or more XSL -stylesheets to XML on client side

    Hi, I was wondering, is there a good and easy method for applying two or more XSL-stylesheets to XML on client side? For example in XML formatted phonebook the contents would be reprsented in nicely formatted and coloured xHTML in first XSL and in plain text on the second XSL. I have tried the...
  9. comma

    Showing hashdata on HTML table with XSL

    Thank you jel, that solved the issue. And I learnt also more about XSL :)
  10. comma

    Showing hashdata on HTML table with XSL

    Hi, is it possible to show the following structure (made with XML::Dumper in Perl) in HTML table with XSL, so that item under arrayref would be its own row in html table: <!DOCTYPE xml> <?xml-stylesheet href="test.xsl" type="text/xsl"?> <perldata> <hashref> <item key="res"> <arrayref...
  11. comma

    XML sequencing with Perl

    Hi, I recently popped into STAF -project (http://staf.sourceforge.net/index.php), which uses XML -files for sequencing software test cases. Actually it's like a macro language implemented with XML and in XML there is function calls and variable declarations (e.g. variable = 1 etc.). I was...
  12. comma

    XML Sequencer (scripts/programs) available?

    Hi, I recently popped into STAF -project (http://staf.sourceforge.net/index.php), which uses XML -files for sequencing software test cases. Actually it's like a macro language implemented with XML and in XML there is function calls and variable declarations (e.g. variable = 1 etc.). I was...
  13. comma

    XSL: gathering summary data from XML -file

    Yes, thank you, now I can proceed a bit further. Btw, is it possible to bind multiple stylesheets to one page, so that e.g. by clicking a link, only some of the data would be shown, e.g. only summary data. And the other one would show all the data?
  14. comma

    XSL: gathering summary data from XML -file

    Hi all, I would like to ask a couple of questions about XSL transformation of XML -file. I've tried to look examples, but unfortunately not found any specifically for these issues. 1) I have the following kind of XML -logfile (rough example): <testlog type="Device testlog"> <selftests...
  15. comma

    Creating multiple windows and entry boxes at run-time with Perl/Tk

    Hi! Thanks to all for good answers. Tk seems very powerful and as a bonus it's multi-platform UI (no need for porting, e.g. Windows -> *nix) and Perl is also becoming more familiar (it's actually surprisingly powerful). br, comma

Part and Inventory Search

Back
Top