[TYPO3-mvc] Fluid: support for object of class SimpleXMLElement?
Torsten Schrade
schradt at uni-mainz.de
Sat Jul 21 10:20:43 CEST 2012
Hi Roland,
> i am not sure, but i think i just noticed some kind of incomplete
> support for objects of class SimpleXMLElement in Fluid.
just a quick suggestion what you could do alternatively using the XPATH
content object [1]:
<f:cObject typoscriptObjectPath="lib.xml" data="{file:PATH_TO_FILE}"/>
lib.xml = XPATH
lib.xml {
source.field = file
expression = //station
return = string
resultObj = TEXT
resultObj {
cObjNum = 1
1.current = 1
}
}
[1] http://typo3.org/extensions/repository/view/cobj_xpath
More information about the TYPO3-project-typo3v4mvc
mailing list