Hello folks,
I am using xml for a newsletter, along with a xsl file to
display it in a browser. In the xml file, a newline, tab or whitespace
character all causes exactly one spacing between two words. That's
generally OK for English or other european languages. But since I am
using Chinese, in our convention, there shall not be any spacing between
two Chinese words. but I definitely won't my xml file being
messed up with very very long sentances all on a single line. They shall
be formatted nicely(i'm using emacs's auto fill mode), and at the same
time won't cause spacing due to newline/tab.
Any solution possible?
Thank you.
Ding Lei 2 1515
Ding Lei wrote: I am using xml for a newsletter, along with a xsl file to display it in a browser. In the xml file, a newline, tab or whitespace character all causes exactly one spacing between two words. That's generally OK for English or other european languages. But since I am using Chinese, in our convention, there shall not be any spacing between two Chinese words. but I definitely won't my xml file being messed up with very very long sentances all on a single line. They shall be formatted nicely(i'm using emacs's auto fill mode), and at the same time won't cause spacing due to newline/tab.
You will need to remove these characters when processing the XML file,
assuming the processing is done in XSLT you can use one of the XSLT
replace templates, for example http://aspn.activestate.com/ASPN/Coo...T/Recipe/65426
--
Klaus Johannes Rusch Kl********@atme dia.net http://www.atmedia.net/KlausRusch/
Hi Klaus,
Thanks for your help!
It works.
lei This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rick DeBay |
last post by:
I'm trying to create a layout table, where the spacing between rows varies.
I've tried using setting margin-top and border-top for the rows I wan't spaced
down from the one above, and I've also tried setting it on all of the cells of
that row.
This hasn't worked, so I was wondering if anyone knew how it could be done.
Thanks, Rick DeBay
|
by: Sebastien B. |
last post by:
I'm wondering if it's at all possible to have spacing between a table's
cells, and only between the cells, not between the outter cells and the
table's border. See end of message for an example (make sure to view this in
fixed width font).
I've played around with different things, such as margin-right, etc. but I
didn't get any results. Would this be even possible. I would have thought
the specs (either HTML or CSS) would have allowed...
|
by: David Gibson |
last post by:
Hi,
Is there a function to remove double spacing between some names in a
text field. I have a text field with names where the name can be 1, 2,
3 or rarely 4 words & there is dounle spacing between them. I wish to
trim out the double spacing to single.
The TRIM functions I have found only seem to work on left or right, ie
leading or trailing spaces.
|
by: Beffmans |
last post by:
Hi
How do i remove the space below the 'hello'?
<TABLE>
<tbody>
<tr>
<td>
<asp:panel id="pnlTop" Runat="server">
<TABLE>
|
by: JB |
last post by:
Hi All,
This is doing my head in! Please help.
I've built a simple <ul> to serve as a menu for a page I'm working on. I
have tested the menu in Mozilla Fireworks 1.5 and it's fine - nice and
compact with no extra spacing - but in Microsoft Internet Explorer 6 there
are huge gaps between each list item.
URL :http://217.154.67.191/left_menu.htm
| |
by: metoikos |
last post by:
I've scoured the web (clumsily, I'm sure) for information on the
difficulties I am having, checked my markup in validators, and had a
friend with more CSS clue look over it, but I haven't had any luck.
I'll detail my difficulties here and hope for help. I will note that
I'm using headings to delineate different sections of my message for
easier reading.
As you can see from the subject, my problems are related to spacing;
one of them is...
|
by: phil-news-nospam |
last post by:
I have a table with 3 columns in 1 row. I want to increase the spacing
_between_ the columns (gutter) _without_ increasing the spacing between
those columns and the table itself. Is there a way to do that in CSS
without having to code in extra dummy columns in HTML to create gutters?
--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ ...
|
by: replyrpatil |
last post by:
What I am trying to do: I need to print a compact access report (font 6 size) created using RTF2 program developed by Stephen Lebans to generate a TIF image of custom size (5.5 in x 2.0 in)
Problem Recreation : Download attached RAR file (http://download.yousendit.com/627919383AFAA7E3 )
Steps 1) Install RTF2 program created by Lebans
2) Install ZAN Image Printer (Virtual Printer)
3) Create Custom Paper Size ----...
|
by: MC |
last post by:
Is there a string function in .NET that will remove the accent marks from letters? I know that's a slightly vague request... and that I could implement it by table lookup (and will do so unless something's already there). But can it be accomplished by switching a string among "cultures" or something like that?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |