Because the templates are in the raw block, you generate it like:
$raw = "<raw><template>$template</template><nocontent>$nocontent</nocontent></raw>";
So I always get an empty nocontent sent back - which is fine. So long as the nocontent tag is there.
Because the templates are in the raw block, you generate it like:
$raw = "<raw>< template> $template< /template> <nocontent> $nocontent< /nocontent> </raw>" ;
So I always get an empty nocontent sent back - which is fine. So long as the nocontent tag is there.