[oXygen-user] Escaping markup, preserving contents in XProc

Wendell Piez wapiez at wendellpiez.com
Mon Jan 20 14:25:36 CST 2014


Hi,

Don't ask why I'm doing this; I'd rather not say. :-)

Running this XProc:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0">

  <p:serialization port="result" method="text"/>

  <p:input port="source">
    <p:inline>
      <doc>Hello bullet: &#x2022;</doc>
    </p:inline>
  </p:input>

  <p:output port="result"/>

  <p:wrap name="wrap" match="/" wrapper="wrapper"/>

  <p:escape-markup name="escape-wrapped-contents"/>

</p:declare-step>

I am getting:

<doc>Hello bullet: •</doc>

As you can imagine, I'd like to see an honest bullet (U-2022) in the results.

By commenting out the 'escape-markup' step I can see my bullet makes
it through to that point.

I am using Calabash inside oXygen 15.2.

What am I doing wrong? Any hints?

Cheers, Wendell

Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^


More information about the oXygen-user mailing list