File: embedded.xml

package info (click to toggle)
libsaxon-java 1%3A6.5.5-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 16,556 kB
  • sloc: java: 36,724; xml: 7,470; makefile: 22; sh: 1
file content (23 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (8)
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>