WordPress.org

Ready to get started?Download WordPress

Forums

Using XSL in a Plugin? (3 posts)

  1. golddave
    Member
    Posted 7 years ago #

    I have a plugin that uses PHP to parse XML and output a result of the parse as text on the page. Is is possible to use XSL to parse instead of PHP? How would I work that into a plugin?

    Thanks,
    Dave

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    XSL does not "parse" XML code, as such. It tells a browser how to display the XML. Depending on what you're doing, you might be able to use XSL, but unless you're doing something really unusual, it's unlikely that you'd want to.

  3. golddave
    Member
    Posted 7 years ago #

    How would you suggest getting data out of XML other than plain PHP?

Topic Closed

This topic has been closed to new replies.

About this Topic