List Info

Thread: Re: XSL and PHP5




Re: XSL and PHP5
country flaguser name
Denmark
2007-03-27 21:04:13
Carlos,

It's difficult to help without more information. The basic
script that's 
linked to from our site does not rely on a server to return
XML records 
-- the transformation to MARCXML takes place in PHP,
assuming you asked 
the server for 'marc', using the yaz_syntax() call, and
specified 'xml' 
when you retrieved records using yaz_record(). The first
call specifies 
what format to ask the server for, the second call tells
PHP/YAZ how you 
want the records.

I suggest you print out the records you get back, and try to
determine 
why the stylesheet seems to fail. The error messages and
warnings in 
your output look disturbing, and if I were you, I'd start by
trying to 
determine what they are all about.

All the best,

--Sebastian

Carlos Escuriola wrote:

> You was right. It was a server issue. This is a little
problem for me, 
> because I want to extract ONLY the ISBN and ONLY the
title and ONLY 
> the author but not all the record and I thought that
XML with a XSL 
> template was the right way to do it.
>
> May be this is a newbie question but It is possible to
extract only 
> the ISBN number, the title and the author in another
way compatible 
> with almost all the servers?
>
> Thanks again.
>
>
>--------------------------------------------------------
----------------
>
>_______________________________________________
>Yazlist mailing list
>Yazlistlists.indexdata.dk
>http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>  
>

-- 
Sebastian Hammer, Index Data
quinnindexdata.com   www.indexdata.com
Ph: (603) 209-6853 Fax: (866) 383-4485


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )