|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-21 09:18 UTC] jay@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 08:00:01 2025 UTC |
When using following code to transform xml with xsl an error occurs stating "token '{' not recognized1" (yes, the 1 is part of the error-message - i get the errormessage using xslt_error()) the error-code is "20" (got it from "xslt_errno()"): $result = xslt_process($xh, $xmlfile, $xslfile, NULL, $arguments, $parameters); the expression xsl_process complains about is "<xsl:sort select="{$sort}"/>". as i read on http://www.xml.com/pub/a/2001/02/07/trxml9.html?page=2 it is valid to use variables as parameters for "<xsl:"-functions... without the curly braces the parser won't use the variables value but rather the variable itself (in this case "$sort"). i guess that is a sablotron-issue but it could as well be php's fault - either way: where can i submit bugs in sablotron?