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

Re: character entities

Subject: Re: character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 20 Nov 2001 12:38:17 GMT
arg maths
Jeni
> that lists the mappings between character numbers and
> entities.

That assumes that the entities do correspond to characters so that you
can do this as a linearisation option; just asking that certain character
numbers are output as entity references. (Of course you may think that
the subject line above alows you to make that assumption, but it's best
never to assume anything:-)


Taking a random example from the dtd on which I use that shell script,
how would you tell the serialiser to output

<input><arg>BL</arg> must contain the lower bounds and <arg>BU</arg> the
upper bounds, for all the constraints in the following order.  The first
<maths><var>n</var></maths> elements of each array must contain the
bounds on the variables, the next
<maths><var>n</var>_{<var>L</var>}</maths> elements the bounds for the
general linear constraints (if any) and the next
<maths><var>n</var>_{<arg>N</arg>}</maths> elements the bounds for the
general nonlinear constraints (if any).  To specify a non-existent lower
bound (&ie; <maths><var>l</var>_{<var>j</var>} = -\infty</maths>), set
<maths><ar><arg>BL</arg><af><var>j</var></af></ar> \leq -bigbnd</maths>,
and to specify a non-existent upper bound (&ie;
<maths><var>u</var>_{<var>j</var>} = +\infty</maths>), set
<maths><ar><arg>BU</arg><af><var>j</var></af></ar> \geq bigbnd</maths>;
the default value of <maths>bigbnd</maths> is <maths>10^{20}</maths>,
but this may be changed by the optional parameter <bold>Infinite Bound
Size</bold> (see <xref type="sec" id="op-description"/>).  To specify
the <maths><var>j</var></maths>th constraint as an
<italic>equality</italic>, set
<maths><ar><arg>BL</arg><af><var>j</var></af></ar> =
<ar><arg>BU</arg><af><var>j</var></af></ar> = \beta</maths>, say, where
<maths>|\beta | &lt; bigbnd</maths>.</input><cons><list
type="cons"><item><maths><ar><arg>BL</arg><af><var>j</var></af></ar>
\leq <ar><arg>BU</arg><af><var>j</var></af></ar></maths>, for
<maths><var>j</var> =
1,2,\ldots,<arg>N</arg>+<arg>NCLIN</arg>+<arg>NCNLN</arg></maths>,</item><item><maths>|\beta
| &lt; bigbnd</maths> when
<maths><ar><arg>BL</arg><af><var>j</var></af></ar> =
<ar><arg>BU</arg><af><var>j</var></af></ar> =
\beta</maths>.</item></list></cons>



as &e04BL-a; ?



The NAG DTD has thousands (literally) of these beasties...

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.