Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: twig_print_outside_roots replaces " with &quote; and ' with '

by dimitarsh1 (Novice)
on Nov 30, 2016 at 15:43 UTC ( [id://1176942]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <style type="text/css">
      @font-face {
    ...
    <div>
        This is a test. Let's go. This is a brand name: 'D&G'. And this is
    + "a test".
    </div>
    
  2. or download this
    my $t= XML::Twig->new(     twig_print_outside_roots => 1,
                                  twig_roots      =>  {'div' => sub {
    ...
                               },
                               keep_atts_order => 1,
                          );
    
  3. or download this
    my $t= XML::Twig->new(     twig_print_outside_roots => 1,
                                  twig_roots      =>  {'div' => sub {
    ...
                               keep_atts_order => 1,
                          );
    
  4. or download this
    <html><head></head><body>´&#9559;&#9488;<style type="text/css">
    
    ...
    
            This is a test. Let's go. This is a brand name: 'D&G'. And thi
    +s is "a test".
    </body></html>
    
  5. or download this
    <html><head></head><body>´&#9559;&#9488;<style type="text/css">
    
      @font-face {
    ...
    
            This is a test. Let's go. This is a brand name: 'D&G'. And thi
    +s is "a test".
    </body></html>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176942]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-25 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found