[Home] [By Thread] [By Date] [Recent Entries]
At 2010-08-02 09:08 -0700, Tony Nassar wrote:
I'm not sure this is the correct place to post. It isn't, because it isn't related to XSLT or XSL-FO. I'm not the moderator, but the moderator is very busy this week running the Balisage conference with her colleagues. Post your to the OASIS XML-Dev list where people can help you regarding such questions. Personally, since you mention Python and I am a fan of Python, I would try to run this as follows (though I haven't tested it): parser = make_parser() parser.setFeature( "http://xml.org/sax/features/namespaces", False ) parser.setContentHandler( handler ) parser.parse( fileIn ) .... where "handler" find elements that have a prefix and makes assumptions about the namespaces required for those prefixes. I hope this helps. . . . . . . . . . . . Ken This may be a question about JAXP, or simply about good standard operating procedure for bad input data. -- XSLT/XQuery training: after http://XMLPrague.cz 2011-03-28/04-01 Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



