469,609 Members | 1,626 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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 1154
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Dan Weeb | last post: by
3 posts views Thread by Dirk Rudolf | last post: by
10 posts views Thread by David T. Ashley | last post: by
1 post views Thread by AndrewDucker | last post: by
3 posts views Thread by Islamegy | last post: by
3 posts views Thread by Tina | last post: by
12 posts views Thread by Thomas Bartkus | last post: by
reply views Thread by Solution2021 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.