mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Fixed example, so it should work now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43736 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c7f3c89463
commit
fcec6774dc
1 changed files with 4 additions and 6 deletions
|
@ -335,8 +335,7 @@ xslt_output_endtransform();
|
|||
<programlisting role="php">
|
||||
<?php
|
||||
|
||||
$xslData = '
|
||||
<xsl:stylesheet
|
||||
$xslData = '<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
|
@ -344,7 +343,7 @@ $xslData = '
|
|||
<table border="1" cellpadding="2" cellspacing="1">
|
||||
<tr>
|
||||
<td width="20%">
|
||||
|
||||
&#160;
|
||||
</td>
|
||||
<td width="80%">
|
||||
<h2><xsl:value-of select="title"/></h2>
|
||||
|
@ -359,15 +358,14 @@ $xslData = '
|
|||
|
||||
</xsl:stylesheet>';
|
||||
|
||||
$xmlData = '
|
||||
<?xml version="1.0"?>
|
||||
$xmlData = '<?xml version="1.0"?>
|
||||
<article>
|
||||
<title>Learning German</title>
|
||||
<author>Sterling Hughes</author>
|
||||
<body>
|
||||
Essential phrases:
|
||||
<br/>
|
||||
Können Sie mir sagen, wo die Toilette ist?<br/>
|
||||
K&#246;nnen Sie mir sagen, wo die Toilette ist?<br/>
|
||||
Ein grosses Bier, bitte!<br/>
|
||||
Noch eins, bitte.<br/>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue