<a onclick="try{ return submitacymailingform('optin','formAcymailing29431'); }catch(err){alert('The form could not be submitted '+err);return false;}" />
The whole html file is:
<html><head>
<title>Template</title>
</head>
<body class="logo-type-gantry main-bg-preset1 headerstyle-dark font-family-pt-sans font-size-is-default menu-type-dropdownmenu layout-mode-responsive col12">
<a onclick="try{ return submitacymailingform('optin','formAcymailing29431'); }catch(err){alert('The form could not be submitted '+err);return false;}" />
</body></html>
Command line and error message is:
bin/diazorun -o var/output.html -r filtered/rules.xml var/tpl.html
Traceback (most recent call last):
File "bin/diazorun", line 9, in
load_entry_point('diazo==1.0.3', 'console_scripts', 'diazorun')()
File "/home/techmetria/Downloads/openwrt/backfire/venv/env/local/lib/python2.7/site-packages/diazo-1.0.3-py2.7.egg/diazo/run.py", line 115, in main
transform = etree.XSLT(output_xslt, access_control=access_control)
File "xslt.pxi", line 406, in lxml.etree.XSLT.init (src/lxml/lxml.etree.c:137089)
lxml.etree.XSLTParseError: Invalid expression
Above I paste some HTML tags and it is not possible to see it. Why? During re-editing I can see the correct html.
Dears,
This line in the html file is problematic:
The whole html file is:
Command line and error message is:
bin/diazorun -o var/output.html -r filtered/rules.xml var/tpl.html Traceback (most recent call last): File "bin/diazorun", line 9, in
load_entry_point('diazo==1.0.3', 'console_scripts', 'diazorun')()
File "/home/techmetria/Downloads/openwrt/backfire/venv/env/local/lib/python2.7/site-packages/diazo-1.0.3-py2.7.egg/diazo/run.py", line 115, in main
transform = etree.XSLT(output_xslt, access_control=access_control)
File "xslt.pxi", line 406, in lxml.etree.XSLT.init (src/lxml/lxml.etree.c:137089)
lxml.etree.XSLTParseError: Invalid expression
Above I paste some HTML tags and it is not possible to see it. Why? During re-editing I can see the correct html.