Matt Sergeant wrote: >>I've been trying to find a way to choose a stylesheet based on some >>arbitrary structures within my source XML. > > What do the structures look like?
The XML source is RDF-XML. I've created a custom Provider to serialize the XML from an RDF database. What I need to match against is the rdf:type of the resource at the requested URI, which can be in one of numerous formats (attribute, element in many possible positions) so matching it is a complex process that I need Perl for.
I've also considered finding the rdf:type within the Provider as I'm accessing the RDF database, and caching it as $self->{rdf_type}, which I could then retrieve later in the DynamicProcessor (since it gets a reference to the $provider). This is probably the simpler way to go now that I think about it.
Either way though, I think AxAddDynamicProcessor is what I need (unless there's something else I'm missing), but this out-of-order thing will make it difficult to use.
Thanks --Jason
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
