# typo3 fluid namespaces

### 0 question.txt

fluid templates: Is there a way to use the normal XML-style declaration of namespaces when I don't have a top-level html element?

such as <f:if xmlns:foo="http://typo3.org/ns/foo\bar" condition="..."> ?

or maybe a dummy toplevel element that does not get rendered?

### 1 partial.xml

 1 2 3 4 5 6 7 8 9 10 11       parameters:   - "datum": datum object with "value" property   - "key": array key, e.g. "foo.bar"
•


### 2 output.html

 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  ...

• Foo
•
• Bar
•
...

### 3 solution.txt

solution: <f:render partial="foo" section="p" arguments="{datum: datum, key:key}" /> and a <f:section name="p"> around the <li>

Note that this does not work for layouts :/
Christian Weiske
owner