File: xslt.xml

package info (click to toggle)
libapache-asp-perl 2.63-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,120 kB
  • sloc: perl: 6,044; php: 409; sh: 62; lisp: 22; makefile: 10
file content (27 lines) | stat: -rwxr-xr-x 975 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/perl /usr/bin/asp-perl

<?xml version="1.0"?>
<page>
 <title>Hello World!</title>
 <content>
  <paragraph>This is my first XSLT enabled Apache::ASP XML script! </paragraph>
  <paragraph>
	I am quite pleased with how well this works, and speedy
	too once the XML -> XSL tranformation gets cached with XSLTCache setting.
  </paragraph>
  <paragraph>
	Both the <file src="<%=&basename($0)%>" title="XML file" /> 
	and <file src="template.xsl" title="XSL template" />
	file will be executed as ASP scripts
	before the XSL will be applied to the XML.  This give you 
	a very powerful dynamic XML publishing solution with full
	ASP scripted XSL &amp; XML files.
	<p />
	With this foundation in place, we will be able to implement XSP
	with all its <%=$Server->HTMLEncode('<xsp:logic>')%> tags no problem.
  </paragraph>
 </content>
 <file src="<%=&basename($0)%>" title="view this file's source" /> -
 <file src="template.xsl" title="view the xslt template" />

</page>