Newbie Question about XML_Transformer

From: Date: Fri, 03 Jan 2003 18:12:14 +0000
Subject: Newbie Question about XML_Transformer
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3175@lists.php.net to get a copy of this message
I am intrigued by the possibilites of the XML_Transformer class, but have had some difficulty getting it to do what I want. I'd like a reality check to make sure my goals are possible with this class. Basically, I want to be able to define a few custom tags and have XML_Transformer process those, but otherwise leave my markup intact. A very simple example: Before ------------- <html> <head> <title>foobar</title> </head> <body> Here's some text<p /> <error>here's an error message</error> </body> After ------------- <html> <head> <title>foobar</title> </head> <body> Here's some text<p /> <div class="error">here's an error message</div> </body> Is this possible/reasonably easy to do with XML_Transformer? -- Ed Finkler Web and Security Archive Administrator CERIAS - Purdue University http://www.cerias.purdue.edu/ v: 765.496.6771 f: 764.496.3181

« previous php.pear.general (#3175) next »