in reply to Re: MathML 2 ascii?
in thread MathML 2 ascii?

I don't see how it could be. This isn't a case where you want to pull data from a document selectively, which XPath excels at. It's a case where you want to transcribe the entire document into a different format, where recursive processing of the full structure is inevitable.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^3: MathML 2 ascii?
by tall_man (Parson) on Jan 26, 2005 at 16:35 UTC
    The original post said that the MathML units code was just a small part of a much larger technical specification document, so something like XPath or XML::Twig will be required to extract it. I don't suppose you would want to write an XSLT translation specification for the entire document just to get the units.

      You can easily write an XSLT transformation that processes only a small part of its input. For those parts the OP wants to process he still needs to traverse the full sub-structure, though.

      Makeshifts last the longest.