Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: XML / regex - cleaning up attributes

by Anonymous Monk
on Sep 30, 2010 at 22:37 UTC ( #862870=note: print w/replies, xml ) Need Help??

in reply to XML / regex - cleaning up attributes

The second will not as the text tag contains embedded ' marks. Is there a regex that will remove this extra punctuation but leave the rest of the attribute (and tag) intact?

Complain upstream to whomever thinks they're supplying XML, because they are not, seriously :/

  • Comment on Re: XML / regex - cleaning up attributes

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862870]
[Corion]: Discipulus: Yeah, I can see that reasoning :) But spending 5 minutes in the sun today quite improved my mood :)
[marto]: lazyweb Q: so an IE window apparently opened via JS with toolbars=no, all other IE instances closed. Click a URL in an email or whatever, and it doesn't open a new window or tab.
[marto]: does JS lock down windows created via to prevent this?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-03-21 11:35 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.