ACK! Of course I put errors in the code. But I just read if you want to
strip out the first line that would be easy. Just use a regular expression
and take it out. :)
On 1/23/06 3:23 PM, "Jay Paulson" <[EMAIL PROTECTED]> wrote:
> I don't know much about the ->saveXML() method but after read
I don't know much about the ->saveXML() method but after reading the PHP
manual why can't you just do something like this:
$xhtml = $dom->saveXML();
// strip out the
$html = str_replace("", "", $html);
Would that even work?
On 1/23/06 2:52 PM, "Chris" <[EMAIL PROTECTED]> wrote:
> Steve Cla
On 1/23/06, Chris <[EMAIL PROTECTED]> wrote:
> Steve Clay wrote:
> >Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
> >
> >>the ->saveHTML() method ... outputs as ``
> >>I need my output HTML to conform to XHTML strict.
> >>
> >Since XHTML is XML, try ->saveXML()?
> >
> >Steve
> >
> I've tried t
Steve Clay wrote:
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
the ->saveHTML() method ... outputs as ``
I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try ->saveXML()?
Steve
I've tried that, and it suits my purposes except for the fact that it
always
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
> the ->saveHTML() method ... outputs as ``
> I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try ->saveXML()?
Steve
--
http://mrclay.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi,
I have a class which will build, and output, an HTML table. To create
the internal elements more simply I'm using a DOMDocument, with a root
element of 'table' then outputting with the ->saveHTML() method.
This has worked fine during development, but I've run into a problem. In
this tabl
6 matches
Mail list logo