[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: spirit an xml element away and bring it back

Subject: Re: spirit an xml element away and bring it back
From: Frank Marent <frank.marent@xxxxxxxxxxx>
Date: Tue, 22 Aug 2006 14:36:54 +0200
framemaker mathml

it works. it's great. and it helps us very much. thank you a lot.


Am 22.08.2006 um 09:33 schrieb Michael Kay:

There's nothing in standard XSLT, but you could use saxon:serialize () (and
of course saxon:parse() on the receiving end).

Michael Kay

-----Original Message-----
From: Frank Marent [mailto:frank.marent@xxxxxxxxxxx]
Sent: 22 August 2006 06:35
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  spirit an xml element away and bring it back


we are trying (for a rountripping of xml documents between
arbortext editor and adobe framemaker) to spirit mathml code
away from xml arbortext editor documents (to open in adobe
framemaker) and let the mathml code reappear again when
returning to xml arbortext editor.

the best would be to hide the mathml code in an attribute and
let it also reappear again from that, but we could only make
*one* way (hiding the code) and only in a *processing
instruction* by this xslt

   <xsl:template match="FormulaEntity">
       <xsl:text disable-output-escaping="yes">&lt;?MATH </xsl:text>
       <xsl:text disable-output-escaping="yes"> ?&gt;</xsl:text>

i wonder if there is any way to to spirit an xml element with
all descendants away, hiding it in an attribute and bring it
back to stage after that. our xml input code would be like:


we have to store the <m:math> element and the best would be
to have after that something like:


and bringing the code back to the input code.

is there any solution in xslt for that? for tips many thanks
in advance.


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.