Roxen.git / server / etc / test / tests / rxml / RoxenTest_BaseRXML.xml

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:382:    <rxml    ><define tag=post>post</define    ><define tag=pre>pre<noparse><post/><date/></noparse></define    ><define container=foo preparse=""><pre/>&_.contents;<contents/>&_.arg;</define    ><foo arg="a">c</foo    ></rxml>    <result>pre<post/><date/>cca</result>   </test>      <test> +  <rxml +  ><define container="x" +  ><contents copy-of="a/node()"/> + <contents copy-of="processing-instruction()"/> + <contents copy-of="processing-instruction(y)"/> + <contents copy-of="processing-instruction()[-1]"/> + <contents copy-of="comment()[1]"/> + <contents value-of="processing-instruction(x)"/> + <contents value-of="comment()"/> + <contents copy-of="text()"/> + </define +  ><x>a&auml; &amp; b <?x &amp; y?><!--c--> <?y?><a +  x='&amp;'>&lt;foo<a x='1' g="'">y</a></a +  ><b y='&lt;' p='q' +  />&gt;<a x='2' y='p'><a x='3'/><a x='4'/></a +  ><!--d--></x +  ></rxml> +  <result>&lt;foo<a x='1' g="'">y</a><a x='3'/><a x='4'/> + <?x &amp; y?><?y?> + <?y?> + <?y?> + <!--c--> + &amp;amp; y + c + a&auml; &amp; b &gt; + </result> + </test> +  + <test>    <rxml type="string">    <define container="x">    <contents copy-of="*[-1]"/>    &var.foo;    <contents copy-of="*[1]"/>    &var.foo;    </define>    <x>    <set variable="var.foo" value="first"/>    <set variable="var.foo" value="second"/>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:409:    <define container="x">    <contents copy-of="*/@*"/>    </define>    <set variable="var.foo">up</set>    <set variable="var.bar">down</set>    <x>    <y a="&var.foo;"/>    <y b="&var.bar;"/>    </x>    </rxml> -  <result>a="up"b="down"</result> +  <result>a="up" b="down"</result>   </test>      <test>    <rxml type="string">    <define container="x">    <contents copy-of="*[-1]/@*"/>    </define>    <set variable="var.foo">up</set>    <set variable="var.bar">down</set>    <x>