emanuelx Posted February 24, 2012 at 09:42 AM Report Share #440976 Posted February 24, 2012 at 09:42 AM como é que eu posso ter por exemplo um texto num campo xml. por exemplo: amanha vai chover mas depois faz sol inserir isso só num campo xml. <campoxml>amanha vai chover mas depois faz sol</campoxml> com calma e sem stresses Link to comment Share on other sites More sharing options...
Caça Posted February 24, 2012 at 09:50 AM Report Share #440979 Posted February 24, 2012 at 09:50 AM Podes ter da mesma forma que tens por exemplo um numero. Pedro Martins Não respondo a duvidas por PM Link to comment Share on other sites More sharing options...
ribeiro55 Posted February 24, 2012 at 10:14 AM Report Share #440983 Posted February 24, 2012 at 10:14 AM <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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now