Jump to content

xml de duas linhas


Recommended Posts

<campoxml>amanha vai chover
mas depois faz sol</campoxml>

Isto já é um texto de duas linhas, pertencente ao interior da tag campoxml.

Quebra de linha inlcuída. Mas se te sentires mais seguro, substituí as quebras de linha para outro token, por exemplo <br/> à entrada e depois desse token para quebra de linha à saída.

Sérgio Ribeiro

"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.