1 <script id=o_xml
type=
"text/plain"><?xml version=
"1.0" encoding=
"UTF-8"?>
4 <script id=o_xslt
type=
"text/plain"><?xml version=
"1.0" encoding=
"UTF-8"?>
5 <xsl:transform version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
6 <xsl:template match=
"xb[$v1]"></xsl:template>
7 <xsl:variable name=
"v1">
8 <xsl:attribute name=
"a1" namespace=
"z">
9 <xsl:variable name=
"v2" select=
"$v2"></xsl:variable>
15 addEventListener("DOMContentLoaded", function(){
16 let doc
= new DOMParser();
17 let xsltPrs
= new XSLTProcessor();
18 xsltPrs
.importStylesheet(doc
.parseFromString(o_xslt
.textContent
, "text/xml"));
19 xsltPrs
.transformToDocument(doc
.parseFromString(o_xml
.textContent
, "text/xml"));