Why would I want to mess with the xml file like that? I use it in other
places. The actual xslt solution I came up with (with assistance) is the
preferred one.
On 04/05/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
$xml = "blah balh blah";
$tournaments = explode("", $xml);
$tournaments = array
$xml = "blah balh blah";
$tournaments = explode("", $xml);
$tournaments = array_slice($tournaments, 0, 3); //maybe 4
$xml = implode("", $tournaments);
$xml .= "\n";
"Crude, but effective Captain" -- Spock
On Wed, May 3, 2006 5:40 am, Dave Goodchild wrote:
> Hi all, maybe slightly off list but
> Thank you very much for your generous and prompt help. The stylesheet I am
> now using looks like this:
>
>
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
>
>
>
> Results of XSL transformation
>
> @import url(games_output.css);
>
>
Thank you very much for your generous and prompt help. The stylesheet I am
now using looks like this:
http://www.w3.org/1999/XSL/Transform";>
Results of XSL transformation
@import url(games_output.css);
> And I used this:
>
>
>
>
>
>
> Tid select="tid" />
> Type />
> Game select="game" />
> Buy-In$ />
> Status select="state" />
>
And I used this:
Tid
Type
Game
Buy-In$
Status
Players
Date / Time
Thanks for our help. Tried both methods and I get this:
*Warning*: Sablotron error on line 31: XML parser error 4: not well-formed
(invalid token) in
*/home/stevemas/public_html/dg/xslt/xslt_processor.php*on line
*14*
On 03/05/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
> Hi all, maybe slightl
> Hi all, maybe slightly off list but I AM using php and Sablotron to
> generate
> xslt.
>
> I have a live poker games feed that takes the following format:
>
>
>
> 10035522
> Texas Holdem
> Texas Holdem Poker
> 5
> 0.5
> USD
> Running
> 110
> Normal NL 1
>
Hi all, maybe slightly off list but I AM using php and Sablotron to generate
xslt.
I have a live poker games feed that takes the following format:
10035522
Texas Holdem
Texas Holdem Poker
5
0.5
USD
Running
110
Normal NL 1
Regular
No Limit
2006-04-24T07:00:00
9 matches
Mail list logo