File: embedded.xml

package info (click to toggle)
lib-saxon-java 6.4.4-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 12,252 kB
  • ctags: 7,953
  • sloc: xml: 7,801; java: 1,187; makefile: 46
file content (23 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version='1.0'?>
<!DOCTYPE foo:document [
  <!ATTLIST xsl:stylesheet id ID #IMPLIED>
]>
<?xml-stylesheet type="text/xsl" href="#xsl"?>
<foo:document 
		  xmlns:foo="http://apache.org/foo"
		  xmlns:bar="http://apache.org/bar"
		  file-name="test"
         file-path="work"
		  creation-date="971255692078">
<bar:element>MyBar</bar:element>
<xsl:stylesheet 
   id="xsl"
   xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
   version='1.0'>
      <xsl:template match="/">
        <embedded>
        <xsl:copy-of select="//bar:element"/>
        </embedded>
      </xsl:template>
</xsl:stylesheet>
</foo:document>