home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / asp / xslt.xml < prev   
Encoding:
Text File  |  2003-09-03  |  1002 b   |  28 lines

  1. #!/usr/bin/perl /usr/bin/asp-perl
  2.  
  3. <?xml version="1.0"?>
  4. <page>
  5.  <title>Hello World!</title>
  6.  <content>
  7.   <paragraph>This is my first XSLT enabled Apache::ASP XML script! </paragraph>
  8.   <paragraph>
  9.     I am quite pleased with how well this works, and speedy
  10.     too once the XML -> XSL tranformation gets cached with XSLTCache setting.
  11.   </paragraph>
  12.   <paragraph>
  13.     Both the <file src="<%=&basename($0)%>" title="XML file" /> 
  14.     and <file src="template.xsl" title="XSL template" />
  15.     file will be executed as ASP scripts
  16.     before the XSL will be applied to the XML.  This give you 
  17.     a very powerful dynamic XML publishing solution with full
  18.     ASP scripted XSL & XML files.
  19.     <p />
  20.     With this foundation in place, we will be able to implement XSP
  21.     with all its <%=$Server->HTMLEncode('<xsp:logic>')%> tags no problem.
  22.   </paragraph>
  23.  </content>
  24.  <file src="<%=&basename($0)%>" title="view this file's source" /> -
  25.  <file src="template.xsl" title="view the xslt template" />
  26.  
  27. </page>
  28.