File:  [parser3project] / parser3 / tests / 284.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Jun 22 11:08:09 2012 UTC (14 years ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, release_3_4_3, release_3_4_2, HEAD
output options test (feature #265)

@main[]

$xml[^xdoc::create{<?xml version="1.0" encoding="utf-8" ?><doc>test</doc>}]
$xsl[^xdoc::create{<?xml version="1.0" encoding="utf-8" ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output indent="no" method="html" omit-xml-declaration="yes" />

  <xsl:template match="/">
    <html>
      <body>
        <script src="test.js"/>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
}]

$result[^xml.transform[$xsl]]

#<xsl:output ... /> options should be used here

$result[^result.string[]]

E-mail: