bema/func/formatter #48
@@ -18,6 +18,10 @@
 | 
				
			|||||||
                    </h1>
 | 
					                    </h1>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                <select name="processors" id="processors" class="hidden">
 | 
				
			||||||
 | 
					                    <option value="libxml">libXML</option>
 | 
				
			||||||
 | 
					                </select>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <label for="xmlArea"><b>Insert your XML:</b></label>
 | 
					                <label for="xmlArea"><b>Insert your XML:</b></label>
 | 
				
			||||||
                <textarea id="xmlArea" name="xmlArea" rows="15"
 | 
					                <textarea id="xmlArea" name="xmlArea" rows="15"
 | 
				
			||||||
                    class="textarea-300 bordered-field vertically-resizeable max-width"
 | 
					                    class="textarea-300 bordered-field vertically-resizeable max-width"
 | 
				
			||||||
@@ -73,17 +77,22 @@
 | 
				
			|||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        function getProcessor() {
 | 
					        function getProcessor() {
 | 
				
			||||||
            return "libxml";
 | 
					            return document.getElementById("processors").value;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        function getVersion() {
 | 
					        function getVersion() {
 | 
				
			||||||
 | 
					            if (getProcInfo() == "xalan") {
 | 
				
			||||||
                return "1.0";
 | 
					                return "1.0";
 | 
				
			||||||
 | 
					            } else {
 | 
				
			||||||
 | 
					                return "3.0";
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        function getProcInfo() {
 | 
					        function getProcInfo() {
 | 
				
			||||||
            return "libxml";
 | 
					            var processVariables = document.getElementById("processors").value;// + "&version=" + document.getElementById("versions").value;
 | 
				
			||||||
 | 
					            return processVariables;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user