Ik ben bezig met een heel eenvoudige xslt om een html-pagina naar een xml-bestand te converteren.
But it appears to me that the starting point is not that straightforward to me.My first goal is to convert a <html>
tag into a
tag.
Ik heb de volgende xslt gedaan:
Conversion Test
However, now after I run this xslt, the result xml is purely of the same content of the original html page, it seems that the third template match that I wrote (to match the <html>
tag) never gets hit.
De bron-HTML ziet er als volgt uit:
<head>..</head>
<body>...</body>
</html>
Kunnen experts me hier een beetje helpen?