Las plantillas de Tapestry puede contener cualquier marcado (X)HTML bien formado. <! DOCTYPE html> <html xmlns= Ship
Tapestry templates can contain any well-formed (X)HTML markup. <! DOCTYPE html> <html xmlns= website
Con el ejemplo anterior podemos asegurarnos de que nuestro HTML está bien-formado, pero ¿Cómo?
So you can see from the above example that you really want to make sure your HTML is well-formed! But how?
Convierte HTML en XML bien formado
Convert HTML to well-formed XML
Pero debes recordar que el HTML no siempre tiene que estar bien formado.
But you should remember that html need not always be well formed.
A diferencia de cargar XML, HTML no tiene que estar bien formado para cargarse.
Unlike loading XML, HTML does not have to be well-formed to load.
Podría también estar interesado en saber que la mayor parte del XHTML en la Web es en realidad HTML escrito con sintaxis XML bien formada.
You may also be interested to know that most of the XHTML on the Web is actually HTML written with well-formed XML syntax.
Te permite manipular HTML mal formado como si fuera un XML bien formado, por lo que puedes usar XPath o simplemente iterar sobre los nodos.
It lets you manipulate poorly formed HTML as if it were well formed XML, so you can use XPath or just iterate over nodes.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple