This is hopefully a very simple question. I'm trying to figure out the
whole namespace concept as it applies to a custom transformation. For
my xml data, I don't use namespaces, and I don't want any filtering on
any namespace, i.e. I want to process all the data in the xml file. For
this situation, what do I set the namespaceURI string to in my custom
transformer, and what is the best way to set the string?
Also, what would the format be if I actually want to filter on some
namespace? I have read the following form the source code, but an
example would be very nice.
* <h3>Namespace handling</h3>
* By setting the instance variable namespaceURI to the namespace the
* events are filtered and only events with this namespace are send to
* the two hooks: <code>startTransformingElement</code> and
* <code>endTransformingElement</code>. It is possible to override the
default
* namespace for the transformer by specifying the parameter
"namespaceURI"
* in the pipeline. This avoids possible namespace collisions.
/**
* The namespace used by the transformer for the SAX events
filtering.
* This either equals to the [EMAIL PROTECTED] #defaultNamespaceURI} or to
the
value
* set by the <code>namespaceURI</code> sitemap parameter for the
pipeline.
* Must never be null.
*/
Thanks,
Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]