LISTSERV mailing list manager LISTSERV 16.5

Help for TEI-L Archives


TEI-L Archives

TEI-L Archives


TEI-L@LISTSERV.BROWN.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

TEI-L Home

TEI-L Home

TEI-L  December 2002

TEI-L December 2002

Subject:

white space in MSIE

From:

"Rafal T. Prinke" <[log in to unmask]>

Reply-To:

Rafal T. Prinke

Date:

Mon, 2 Dec 2002 00:33:27 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (41 lines)

This question should perhaps be asked elsewhere - but I think
it might be of interest to other TEIers.

I intend to put some raw TEI/XML texts on-line to be browsed
with MS IE. I am now struggling with XSLT stylesheets and
encountered a problem of a single white space (ie. just a space)
between two elements. For example:

<p>
   Colonel
     <persName>
         <foreName>John</foreName> <surname>Smith</surname>
     </persName>
   was born in 1875.
</p>

is displayed as:

     Colonel JohnSmith was born in 1875.

ie. with all spaces normalized except for the one which is
the only character between two elements - with no textual data
there.

When the same fragment is transformed with Saxon, that space
is preserved.

Is there any easy way to achieve the desired effect in MS IE
without changing the source?

It can be done inserting the space *inside* one element:

    <foreName>John </foreName><surname>Smith</surname>

but I don't like this solution as intuitively the space
does not belong in either of the two elements.

Best regards,

Rafal

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.BROWN.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager