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"...
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...
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...
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...
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>...
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...
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...
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...
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...
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...
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...
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?
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...
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
Hi!
Thank you for your answers, they were very helpful. I should get a book about Tk, but haven't
yet decided what to buy.
One additional question: Can one attach scrollbars to frame so that the frame (1 or more) contents
would be scrollable if it's going "out" from window? I've...
Hi!
I'm little new to (Perl/)Tk and was wondering if it's possible to create new windows in runtime or create entry boxes in run time when needed.
In Perl/Tk, when the MainLoop() is called the UI is launched and it means that the building of widgets is done.
I'm trying to create user...
Hi!
I'm developing an application with Perl/Tk. The application should be a simple form, which is dynamically generated from xml-contents and then the user can modify the fields and save the modifications to xml-file.
How can I add scrollbar to the window if the form gets so big that it...
Hi!
I was wondering if there is convenient way to format messed xml-document with Perl.
Ok, IE shows the file in nice format, but I would like to make it look nice, when opened to normal text editor?
Example:
<?xml version="1.0"?>
<section>...
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.