Hi,
I've now almost finished my first language module most things i figured out by looking at the existing.
Still 2 questions remain: 1) At which point will I enter in which situation: if( $r->pnotes('dom_tree') ) { # .... when do i get there
Previous pipeline stage in the chain output a DOM (e.g. LibXSLT or XSP).
}
elsif( $r->pnotes('xml_string') )
{
# .... when do i get there
Previous pipeline output a string (e.g. XPathScript, Sablot)
}
else
{
my $text = eval { ${$xml_provider->get_strref()} };
Always try get_fh() first, if you can handle a fh. If you can only handle a string then try get_strref, but don't put it in an eval block - just let the exception propogate.
2) How do I implement caching, because my source-file has not changed i don't want my serializer to process the xml-file.
Should be all automatic. If not its a bug.
Matt.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
