How special characters can be used in xml element TAG.

Hi,
In my project data is fetched from the database and stored in the xml file. Data contains European characters as well. When I tried with UTF-8 it was giving error but when I changed the encoding to ISO-8859-1, XML generated.
Well now I am stuck with a problem and as I don�t know much about XML, I am trying to get some knowledge from you.
I have xml tag like: <Name&>Rohit</Name><employee#>78023</employee>.
I am getting the error message �top level element must be defined.� This is because special characters are in TAG. But it doesn�t give error if I use special characters/European char in value( like Rohit*).
I don�t know much about CDATA. Any help from your end will be greatly appreciated.Can this problem resolved if i use java function outformat.CDataElements(String[]) and pass the elements name.
Thanks!!
Regards,
Rohit Dutt

Client: I want this element name.
You: The XML recommendation doesn't allow you to have that element name. If you make documents with that element name then no XML software will be able to read them. It just isn't going to work. Insisting on that would just be stupid and pointless. (Okay, you don't say that last sentence that way to your client but that's how it is. Explain it more nicely than that.)

Similar Messages

  • How Many Times Can I Use The Same Serial Number For Adobe Creative Suite 4?

    I have design standard and was told I can use the same serial number on multiple computers. How many time can I use it? And say I install it on the maximum number of computers, but get a new computer, can I uninstall it on one of the old computers and use it on the new one? And can I use the programs on both computers simultaneously or do I have to use them one at a time?

    Fred Tech wrote:
    Broadly speaking, it depends on the type of license you have.
    Specifically, if you have a single license then officially, you should only install it once on one computer.
    Practically, (unless it has changed with CS4) you maybe able to install it on more then one computer, BUT can only run one instance of the software at a time. You can not run more then one instance of the software concurrently; i.e. you can't run Dreamweaver on Computer 1 and Photoshop on Computer 2. That would be two instances, and is not permitted.
    This is my understanding. I am happy to be corrected if I am wrong
    Fred
    Sorry Fred you are wrong.
    If you have a single license you can install it on as many computers as you like. you can only activate the suite on two computers at anyone time. Work and Home or as many of us do it Desktop and Laptop. You can not use the computers simultaneously. You only have 20 activation/deactivations so use them wisely. Student versions only have one activation. You can not break up the suite installs the suite is considered one application.

  • How many Ipods can you use with one Itunes account?

    How many iPods can you use/sync with one iTunes account?

    PT wrote:
    Macistotle wrote:
    Unless you have DRM still haunting your tunes ... Then you can only use those songs on 5 devices. Otherwise, connect as many as you like (as stated above).
    No, you can sync your DRM tracks to an unlimited number of iPods (but only authorized to play on 5 different computers/user accounts)
    Patrick
    So I can sync two iPods to my iTunes account and sync the same digital copy movies that come with some o' my DVDs to both ipods? Do movies make a difference really, DRM-Wise? Thanks in advance.

  • When I buy Logic 9 from the appstore. On how many Macs can i use it?

    When I buy Logic 9 from the appstore. On how many Macs can i use it? Can I install it twice with the same serial number?

    On all your personal Macs.

  • How many computers can i use with creative cloud?

    how many computers can i use with creative cloud?

    Two.
    From the Creative Cloud FAQ here http://www.adobe.com/products/creativecloud/faq.html under the section Purchasing and getting started:
    On how many computers can I install the software I download from Creative Cloud?
    You can install the desktop applications available in Creative Cloud on your primary computer and one backup computer, as long as they are not running at the same time. You will have access to both the Mac OS and Windows versions, so if you have a Mac at home and a PC at work, for instance, you can install your applications on both. See the product license agreements page for more information.

  • How many computers can i use my subscription of Muse on?

    how many computers can i use my subscription of Muse on?

    With a single subscription of Muse, you can run Muse on two individual Machines.

  • Offline updates mechanism: how many times can you use it before corrupting the image(wim)?

    Hi,
    As title mentions: "how many times can you use sccm 2012 offline updates for the wim file before corrupting the image(wim)"?
    J.
    Jan Hoedt

    In my experience the offline servicing feature is only OK and too unreliable for production.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • With the online package of PS/LR, how many machines can I use this on?

    With the online package of PS/LR, how many machines can I use this on? Can I have it at work and home?

    2 Computer License http://forums.adobe.com/thread/977272

  • How many times can you use the serial number to download the cd

    help how many times can we use the serial number to download the cd photoshop elements 11

    Download Photoshop Elements products | 13, 12, 11, 10
    Mylenium

  • How many times can u use an app?

    hey! i have purchased many ipad apps
    im about to get a second ipad and i want the apps on both using just the one purchase of them (one account)
    my question is how many times can u use an ipad app with one purchase? i kknow with music it says 5 copies but how many with apps?

    Do you and your wife share the same itunes account or do you each have one? If you share the same one - say both you and she log in as [email protected] into itunes, then every device you sync up with itunes will share the same apps - provided they're compatible.
    For example, I had an ipod touch for over a year then got the ipad, all my touch apps transferred to my ipad when i set it up. I could then go in and delete the ones I didn't want on the ipad. And if I were to also get an iPhone, I could sync any existing apps that I have bought that are compatible with the iphone to it.
    Theoretically, if i had 20 ipads for a classroom, I could use one itunes account and put the exact same apps on all 20 of them.

  • How many times can i use the limited warranty on my Apple iPhone 5, I just broke mine after getting a brand new one. Also, can I extend my warranty?

    How many times can i use the limited warranty on my Apple iPhone 5, I just broke mine after getting a brand new one. Also, can I extend my warranty?

    If you purchased AppleCare + within 30 days of getting your iPhone 5 you are allowed 2 instances of breakage replacement with a $49 deductible. If you do not have AppleCare + accidental breakage is not covered under you warranty, you can do an out-of-warranty replacement for $229.

  • How many devices can you use on an airport express wirelessly?

    How many devices can you use on an airport express wirelessly? Does it matter how many devices you have?

    The Express supports up to ten clients.

  • How many PCs can I use with one Creative Cloud subscription?

    How many PCs can I use with one Creative Cloud subscription? For example I currently use Lightroom on a home PC with 2 large screens, but use a laptop or iPad when travelling. Does one monthly subscription cover all 3 or do I need 3 separate subscriptions ?

    You are welcome!
    P.S. when using the adobe forums, please mark helpful/correct responses of Staff or helper, if there are any. 

  • How many devices can you use for your itunes account?

    how many devices can you use for your itunes account?

    PT wrote:
    Macistotle wrote:
    Unless you have DRM still haunting your tunes ... Then you can only use those songs on 5 devices. Otherwise, connect as many as you like (as stated above).
    No, you can sync your DRM tracks to an unlimited number of iPods (but only authorized to play on 5 different computers/user accounts)
    Patrick
    So I can sync two iPods to my iTunes account and sync the same digital copy movies that come with some o' my DVDs to both ipods? Do movies make a difference really, DRM-Wise? Thanks in advance.

  • How many iPods can I use on one computer?

    How many iPods can I use on one computer? I have two iPods (one old, and one newer), and my husband now has an iPhone to which he would like to add music. Can I add his iPhone?

    How to use multiple iPods with one computer

Maybe you are looking for