def _inclusiveNamespacePrefixes(node, context, unsuppressedPrefixes):
inclusive = []<EOL>if node.prefix:<EOL><INDENT>usedPrefixes = ['<STR_LIT>' %node.prefix]<EOL><DEDENT>else:<EOL><INDENT>usedPrefixes = ['<STR_LIT>']<EOL><DEDENT>for a in _attrs(node):<EOL><INDENT>if a.nodeName.startswith('<STR_LIT>') or not a.prefix: continue<EOL>usedPrefixes.append('<STR_LIT>' %a.prefix)<EOL><DEDENT>unused_namespace_dict = {}<EOL>for attr in context:<EOL><INDENT>n = attr.nodeName<EOL>if n in unsuppressedPrefixes:<EOL><INDENT>inclusive.append(attr)<EOL><DEDENT>elif n.startswith('<STR_LIT>') and n[<NUM_LIT:6>:] in unsuppressedPrefixes:<EOL><INDENT>inclusive.append(attr)<EOL><DEDENT>elif n.startswith('<STR_LIT>') and n[<NUM_LIT:5>:] in unsuppressedPrefixes:<EOL><INDENT>inclusive.append(attr)<EOL><DEDENT>elif attr.nodeName in usedPrefixes:<EOL><INDENT>inclusive.append(attr)<EOL><DEDENT>elif n.startswith('<STR_LIT>'):<EOL><INDENT>unused_namespace_dict[n] = attr.value<EOL><DEDENT><DEDENT>return inclusive, unused_namespace_dict<EOL>
http://www.w3.org/TR/xml-exc-c14n/ 
    InclusiveNamespaces PrefixList parameter, which lists namespace prefixes that 
    are handled in the manner described by the Canonical XML Recommendation