[qmtest] RFE: result annotations
Mark Mitchell
mark at codesourcery.com
Tue Sep 23 14:23:20 UTC 2003
> hmm, you could define your document type via xml schema, and then allow
> inside <annotation> nodes any valid xhtml.
I don't know how to do that, but if it works...
I'm concerned about how that would work with DOM. We want to be able to get
the text back from the node somehow. With Python's current DOM
capabilities, I'm not sure that there's any way to use an XML schema to
guide the tree construction.
> well, yeah, the string contains "<pre>", but it's not part of the
> markup. Yet I do want to treat it with xslt, and therefor it has to be
> part of the markup, not the text node's content.
Oh, I see.
I don't know what to do about that. The good news is that the DTDs are so
simple that you can probably pre-process the XML using a technique other
than XSLT, but I know that's not ideal...
-- Mark
More information about the qmtest
mailing list