I would like to use the digester to process XML defined by schemas.  The only 
problem is that the XML in question has elements that are defined in another 
namespace, which is known only at the time of processing.

Here's an example of the sequences I need to process

<complexType name="Component">
    <sequence> 
        <element minOccurs="0" maxOccurs="1" name="properties" 
                     type="foo:PropertyValues"/> 
        <any namespace="##other" processContents="lax" 
             minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute name="name" type="NCName" use="required"/>
    <anyAttribute namespace="##any" processContents="lax"/>
</complexType>

<complexType name="PropertyValues">
    <sequence>
        <any namespace="##other" processContents="lax" minOccurs="0" 
             maxOccurs="unbounded"/>
    </sequence>
    <anyAttribute namespace="##any" processContents="lax"/>
</complexType>

Here's a sample XML snippet: 
        <properties>
            <v:currency>EURO</v:currency>
        </properties>

Anyone have any ideas as to how I would go about setting up the rules to 
process this mess?  Any help would be appreciated.  Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to