<?xml version="1.0" encoding="utf-8"?> <fd:widgets xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> <fd:field id="street"> <fd:label>Ulica</fd:label> <fd:datatype base="string"/> </fd:field> <fd:field id="building"> <fd:label>Numer budynku</fd:label> <fd:datatype base="string"/> </fd:field> <fd:field id="apartment"> <fd:label>Numer lokalu</fd:label> <fd:datatype base="string"/> </fd:field> <fd:field id="postalCode"> <fd:label>Kod pocztowy</fd:label> <fd:datatype base="string"/> </fd:field> <fd:field id="city"> <fd:label>Miejscowosc</fd:label> <fd:datatype base="string"/> </fd:field> </fd:widgets>
1. Is there some syntax that allows to do that in cinclude:
<xi:include href="editAddress-def.xml#xmlns(fd=http://apache.org/cocoon/forms/1.0#definition) xpointer(/fd:widgets/fd:*)"/>
I cannot seem to find a way to do a succesful xpath query that involves namespaces (when using cinclude).
2. If not would you accept the path that allows to do strip-root in CIncludeTransformer - it would also be much faster than select="/root/*"
I've been browsing archives for this. There was an answer that I should use map:aggregate -> map:part strip-root=true" but that is very inconvenient in my case.
WDYT?
lg-- Leszek Gawron [EMAIL PROTECTED]
