in reply to Re^2: xml::twig and stylesheets
in thread xml::twig and stylesheets
Now you are entering the dark realm of comments and processing instructions before and after the root... be afraid, very afraid!
The answer: you have to replace the paste by $twig->_add_cpi_outside_of_root( leading_cpi => $xsl);. Which I agree is slightly weird, not to mention totally undocumented.
This might actually be worth a method of its own. What about add_stylesheet( $stylesheet_url )?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: xml::twig and stylesheets
by Tanktalus (Canon) on Mar 23, 2006 at 14:57 UTC | |
by mirod (Canon) on Mar 23, 2006 at 16:11 UTC | |
|
Re^4: xml::twig and stylesheets
by rogue90 (Novice) on Mar 23, 2006 at 14:54 UTC |