Project

Profile

Help

How to connect?
Download (672 Bytes) Statistics
| Branch: | Tag: | Revision:

he / latest9.6 / hec / samples / trax / xml / embedded.xml @ 74569bc0

1
<?xml version='1.0'?>
2
<!DOCTYPE foo:document [
3
  <!ATTLIST xsl:stylesheet id ID #IMPLIED>
4
]>
5
<?xml-stylesheet type="text/xsl" href="#xsl"?>
6
<foo:document 
7
                  xmlns:foo="http://apache.org/foo"
8
                  xmlns:bar="http://apache.org/bar"
9
                  file-name="test"
10
         file-path="work"
11
                  creation-date="971255692078">
12
<bar:element>MyBar</bar:element>
13
<xsl:stylesheet 
14
   id="xsl"
15
   xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
16
   exclude-result-prefixes="foo" 
17
   version='1.0'>
18
      <xsl:template match="/">
19
        <embedded>
20
        <xsl:copy-of select="//bar:element"/>
21
        </embedded>
22
      </xsl:template>
23
</xsl:stylesheet>
24
</foo:document>
(3-3/6)