[PHP] Sablotron broken in 4.2.1 ?

2002-06-03 Thread William S.
Is Sablotron broken in 4.2.1 because none of the transformations have worked that I have tried. I am using: php 4.2.1 apache_1.3.24 expat-1.95.2 my files are: 'wget http://213.84.71.105/news.xml' 'wget http://213.84.71.105/news.xsl' 'wget http://213.84.71.105/news.php'

Re: [PHP] Sablotron broken in 4.2.1 ?

2002-06-08 Thread William S.
Thank you for the feedback. Sablotron is running fine now. Just had to do some modifications with my *.xsl file. Here is what I have going now with the implementation: http://213.84.71.105/ On Tue, Jun 04, 2002 at 10:57:45AM +1000, Tom Rogers wrote: > hi > I am using 4.2.1 and it works fine, I

[PHP] Running PHP script within stylesheet?

2002-06-09 Thread William S.
I am very new to PHP, Sablotron, XSLT, and MySql. Right now I have created a web page that is the result of a transformation (through php) of an xsl and xml file. What I would like to do is run a PHP script so that the result is displayed within a table on my web page. How do I do this? Here is a

[PHP] Running PHP script within stylesheet?

2002-06-09 Thread William S.
Sorry, perhaps I should have been a bit more specific. Here is my *.php file. I want the "hello world" script to output to the "Right Menu" table on my web page: http://213.84.71.105/ . %s", xslt_errno($_parser), xslt_error($_parser) ); } xslt_free($_parser); echo $result; ?> On Mo

[PHP] Can a php script be placed within a stylesheet?

2002-06-10 Thread William S.
Can a "php script" be put within a stylesheet and work properly? If so, how? For instance, this script put inside an XSL stylesheet file: Then it is transformed into html via Sablotron. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Stylesheet to query an xml file

2002-06-11 Thread William S.
I am looking for an example or an explanation of how to set up a stylesheet so it will enable a user to query content in an XML file. For instance. Have an XML file with names and addresses and the user would be able to search for a name and get back a list of matches. This would need to work wi

[PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
This works pretty well to append content to an XML file. However, I need to keep the closing tag where it belongs: at the end of the file. This only appends to the end and doesn't work. I use ... $myecho = "Hello World"; $file_name = "file.xml"; $file_pointer = fopen($file_name, "a"); fwrite($

Re: [PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
Yes, that worked. Nice and effective solution. Thank you. On Tue, Jun 25, 2002 at 09:51:21AM -0400, Erik Price wrote: > > If you know for a fact that the ending tag for each file is consistent > and always that same tag, here's an idea. Determine or specify the > length of the ending tag (in

[PHP] gdlib list or galleries?

2002-06-27 Thread William S.
Is there a mailing list just dedicated to gdlib or any places that show a gallery with examples? I would be interested in seeing examples of images that are complex/artistic and beyond simple rectangles and boxes. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] imageellipse not working with gdlib2.0

2002-06-30 Thread William S.
Maybe I am just doing it incorrectly but I am unable to get anything displayed with imageellipse in gdlib2.0. Can anyone give me a simple php script to test it with? I am using php with Sablotron. Thank you. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] svg graphics and php : is it possible

2002-07-03 Thread William S.
Perhaps this relates to the original question as an additional feature. What would be the best way to offer SVG content from the main opening page? Since SVG requires a browser that has the approprite plugin or a dedicated browser, is it better to create a hyperlink or maybe have the SVG capabili

[PHP] using xsl:value-of select within form

2002-07-03 Thread William S.
I am able to do this: But would like to do something like this: "/> I know the latter does not work, so how do I correct it? Thank you, -- Bill Amsterdam, NL -- PHP General Mailing List (