0
У меня есть и XHtml документ в этом формате. Как использовать XSL для перемещения всех тегов img внутри div.Xsl transform, remove/move tag tag
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Title</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="article">
<div class="docTitles">
<h1 class="title">doc title</h1>
</div>
<div class="section">
<h2 class="generic">subtitle</h2>
<p>
<img alt="Image" src="images/{D11F8168-E415-498A-BC1C-6FEF3514B120}.JPG" width="200" />paragraph</p>
</div>
</div>
<div id="images"></div>
</body>
</html>
Вот результат я ищу, все теги изображений перемещается внутри изображения DIV
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Title</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="article">
<div class="docTitles">
<h1 class="title">doc title</h1>
</div>
<div class="section">
<h2 class="generic">subtitle</h2>
<p>paragraph</p>
</div>
</div>
<div id="images">
<img alt="Image" src="images/{D11F8168-E415-498A-BC1C-6FEF3514B120}.JPG" width="200" />
</div>
</body>
</html>
Как выглядит ваш желаемый результат? Измените свой вопрос соответствующим образом. – zx485