473,800 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML editing

Hi,
I have defined the Schema for XML in which there a tag (viz: <doc>) that
can contain any HTML tags. Is there an Editor (commercial or otherwise) that
would allow me to create the XML with WYSIWYG HTML editing for the contents
of that tag.

Example:
<doc>
<b>This is bold</b>
<i>This is italic</i>
</doc>
<other_tags> ...

So <doc> can have any html tag, but I want an editor that allows me to write
just text e.g "This is bold" then select a button to make it bold, so that I
don't have to use the HTML tags.

This can be desktop application, not necessarily a web based one.
Appreciate any help I can get.
Thanks,
Anupam.
Apr 2 '06 #1
2 1299
But you can use any WYSWYG software like Frontpage, Dreamwaver, even
Visual Studio, to build the webpage (and get all the tags included for
you automatically) and then copy the source into the <doc></doc> of
your xml file.

...or did I misunderstand your question?

- Anupam
(btw, we share the same name :-))


Anupam wrote:
Hi,
I have defined the Schema for XML in which there a tag (viz: <doc>) that
can contain any HTML tags. Is there an Editor (commercial or otherwise) that
would allow me to create the XML with WYSIWYG HTML editing for the contents
of that tag.

Example:
<doc>
<b>This is bold</b>
<i>This is italic</i>
</doc>
<other_tags> ...

So <doc> can have any html tag, but I want an editor that allows me to write
just text e.g "This is bold" then select a button to make it bold, so that I
don't have to use the HTML tags.

This can be desktop application, not necessarily a web based one.
Appreciate any help I can get.
Thanks,
Anupam.


Apr 2 '06 #2
Anupam wrote:
Hi,
I have defined the Schema for XML in which there a tag
No. See http://xml.silmaril.ie/authors/makeup/
(viz: <doc>) that
can contain any HTML tags. Is there an Editor (commercial or otherwise) that
would allow me to create the XML with WYSIWYG HTML editing for the contents
of that tag.
Hundreds of them, but mostly either for

a) HTML-only (web page editors) which won't work for you without
additional software because you add <doc>...</doc> around the
HTML; or

b) XML-only (XML editors) which will handle the doc root element,
but only if you create your own "driver" DTD or Schema to embed
HTML in it.

See http://xml.silmaril.ie/developers/software/#editors
Example:
<doc>
<b>This is bold</b>
<i>This is italic</i>
</doc>
<other_tags> ...

So <doc> can have any html tag, but I want an editor that allows me to write
just text e.g "This is bold" then select a button to make it bold, so that I
don't have to use the HTML tags.


Any programmable XML editor can do this, but you must write the code
to activate the button or menu or keystroke because it's an unusual
function and is not built into most of them.

But you must understand that adding <b>...</b> around text in XML does
not make it bold. It just encloses the text in the b element. Don't
confuse browsers' default rendering of HTML with XML. XML has no styling
in itself: this is always applied in a stylesheet, so what you want is
a key or menu item or button to enclose the highlighted text in the b
element. You then also want a stylesheet that renders doc//b as bold.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
Apr 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2406
by: Dan Weeb | last post by:
Hi All, I have struggled through this far with help from many of you so thanks. I am stuck again. I am really new to this so don't be harsh :-) There are a few problems. You can run the script here http://www.pbrown.com/research/test1.php to see the formatting issues Formatting Issues
3
2436
by: Dirk Rudolf | last post by:
I like to announce you the product X2U, avaible under http://www.lumrix.net/x2. X2U is an acronym for "XML to user". Existing XML editors still ignore the fact that users don't want to read XML markup. Our view is: Not users have to align to XML, but XML has to align to users. X2U allows users tp fill out simple web forms, which are automatically derived from XML models. The XML model provides the XML structure and an interface...
1
1879
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 http://tinyurl.com/m7v8 **** CLAIM #10 ****
10
1948
by: David T. Ashley | last post by:
Hi, I'd like to do some basic graphics. For example, if you look at: http://www.marshallaviationcenter.com the banner graphics at the top that apparently used an image editor with some fonts built in and the way the airplane pictures are faded around the edges.
2
4267
by: NewBob | last post by:
Since Access automatically highlights all of the text in a text control (I use it to hold data from a memo field) when the control is activated, I've added the following code to put the cursor at the end. Private Sub txtCapability_GotFocus() ‘ Placed either behind the OnEnter or GotFocus Event of a control named, ' in this case, txtCapability, on a form ensures that when the control is
1
1996
by: AndrewDucker | last post by:
I've just started working with some people that have an odd setup and I'm wondering if someone can point out a better way of doing things (or what I'm doing wrong). They have a base form class, derived from the standard Form, but with the ability to show a list of panels in order. Each of these panels is a subclass of a subclass of Panel. The initial subclass is tweaked to work with the special form and then each subclass of that is...
3
3830
by: Islamegy | last post by:
When i press btn_save all changed rows in my grid get saved except the last editing row... I want my btn_Save to end editing in the datagrid.. so if user didn't press "enter" after editing last cell of the current row, I could force this row to be saved in the datasource. help plz
3
1798
by: Tina | last post by:
Does anyone know of an asp.net general purpose table editing tool that will allow users to add modify and delete data? Thanks, T
12
2834
by: Thomas Bartkus | last post by:
Does anyone use emacs together with both WordStar key bindings and python mode? I'm afraid that Wordstar editing key commands are burned R/O into my knuckles! I would like to play with emacs for Python editing but I'm having (2) problems. 1) When I load a .py file, emacs automatically overrides my wordstar-mode with python-mode, forcing all the keybindings back to emacs native keys. Why?
9
4079
by: pvsundarram | last post by:
hey, i am trying to cancel the keydown event for certain keycodes( for eg:- enter key ).But the cancelling of this event is not happening in firefox. Is there any way to cancel the event in the iframe. CODE ===== <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US"
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10501
Oralloy
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...
1
10250
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,...
0
10032
tracyyun
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...
1
7574
isladogs
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...
0
6811
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();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.