Note that there are some explanatory texts on larger screens.

plurals
  1. POTransforming from one HTML to another HTML
    primarykey
    data
    text
    <p>I'm having one problem, for one project I have two packages (A and B) containing some .xml,.gif,.js,.html files etc. My task is to convert from package A to B. For step one transformation of one XML to another one was required which I did with XSLT. Second step was to include the missing javascripts file from folder(package) B to A, which I did using a java program. Now my third task is modify the .html files of package A to include those javascripts elements and other elements (one submit button also) which I have copied from B. So can anyone please help me out that how can I do this transformation.</p> <p>HTML of package A (Source)-</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;eXe&lt;/title&gt; &lt;style type="text/css"&gt; @import url(base.css); @import url(content.css); &lt;/style&gt; &lt;script type="text/javascript" src="common.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="outer"&gt; &lt;div id="main"&gt; &lt;div id="nodeDecoration"&gt; &lt;p id="nodeTitle"&gt; Part 1&lt;/p&gt; &lt;/div&gt; &lt;div class="TrueFalseIdevice" id="id12"&gt; &lt;script type="text/javascript" src="common.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="libot_drag.js"&gt;&lt;/script&gt; &lt;div class="iDevice emphasis1"&gt; ...... ....... &lt;/div&gt;&lt;/html&gt; </code></pre> <p>HTML of Package B (Required)-</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;eXe&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;style type="text/css"&gt; @import url(base.css); @import url(content.css); &lt;/style&gt; &lt;script type="text/javascript" src="common.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;!--TO BE INCLUDED--&gt; &lt;script type="text/javascript" src="APIWrapper.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="SCOFunctions.js"&gt;&lt;/script&gt; &lt;!----&gt; &lt;body onload="loadPage()" onunload="unloadPage()"&gt;&lt;div id="outer"&gt; &lt;div id="main"&gt; &lt;div id="nodeDecoration"&gt; &lt;p id="nodeTitle"&gt; Part 1&lt;/p&gt;&lt;/div&gt; &lt;div class="QuizTestIdevice" id="id8"&gt; ..... ...... ....... &lt;!--This submit button also has to be included--&gt; &lt;br/&gt;&lt;input type="submit" name="submitB" value="SUBMIT ANSWERS"/&gt; ...... ...... .... &lt;/div&gt;&lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload