Forum Moderators: open

Message Too Old, No Replies

php xml xpath dtd xsl together

Is there an easy way to code this?

         

Zolley

10:46 am on Feb 4, 2005 (gmt 0)

10+ Year Member



Hello,

I use php5 and need some help how to do the following:

I'd like to display xml elements using a given xpath expression. I have external dtd for the xml files and also xsl file for them.

Could you please help me in how to handle these things together?

If you know about an existing code or tutorial I'd appreciate that.

Thanks,
Zolley

Alternative Future

11:07 am on Feb 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Zolley,

Is this the kind of tutorial you are looking for:
Do a google for dave pawson and check out the first result...

-George

Zolley

11:32 am on Feb 4, 2005 (gmt 0)

10+ Year Member



Unfortunately not :(

I already have the xsl files, dtd and xml files, and what is how to put these together with php.
E.g. I found some php functions that create output xml if I feed them with original xml and xsl but I only need parts of the xml files and want to use the dtd as well (in xml files, there isn't any link to the dtd, and without dtd I have parsing problems because of some entities defined there)

Zolley