"space" in .xml
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > "space" in .xml




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

pcl is offline     "space" in .xml  
pcl


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for pcl Click here to Send pcl a Private Message Find more posts by pcl Add pcl to your buddy list
 
09-16-04 07:04 AM

Hi all, 

I have a trouble with a special field's value. My require is that I must ret
urn a 'space' value for a field if it not present in input file. However, I 
receive a field like this (open with IE): 

<TORI_CD/> 
(if I open it in text format, it probadly show : 
<TORI_CD> </TORI_CD> ) 

but I want it to display (in IE): 

<TORI_CD> </TORI_CD> 

Actually, I am using an database adapter and I want to see my SQL command : 

"Insert into TORI(TORI_CD(char 6),TORI_MEI) values(' ','Hallo')" 

istead of : 

"Insert into TORI(TORI_CD(char 6),TORI_MEI) values('','Hallo')" 

The reason is that TORI_CD is one of primary keys and I want to put a 'space
' value for it if input value is null 

Thanks in advance
pcl




[ Post a follow-up to this message ]



    Re: "space" in .xml  
Devdutt Patnaik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 10:51 PM

Try this...use that field as an Attribute.
<TORI_CD Value=" "/>


"pcl" <pcl.1cztw0@mail.webservertalk.com> wrote in message
news:pcl.1cztw0@mail.webservertalk.com...
>
> Hi all,
>
> I have a trouble with a special field's value. My require is that I
> must return a 'space' value for a field if it not present in input
> file. However, I receive a field like this (open with IE):
>
> <TORI_CD/>
> (if I open it in text format, it probadly show :
> <TORI_CD> </TORI_CD> )
>
> but I want it to display (in IE):
>
> <TORI_CD> </TORI_CD>
>
> Actually, I am using an database adapter and I want to see my SQL
> command :
>
> "Insert into TORI(TORI_CD(char 6),TORI_MEI) values(' ','Hallo')"
>
> istead of :
>
> "Insert into TORI(TORI_CD(char 6),TORI_MEI) values('','Hallo')"
>
> The reason is that TORI_CD is one of primary keys and I want to put a
> 'space' value for it if input value is null
>
> Thanks in advance
> pcl
>
>
>
> --
> pcl
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message395752.html
>







[ Post a follow-up to this message ]



    RE: "space" in .xml  
Tatyana Yakushev [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 10:49 PM

This is a way IE displaies XMLs.
You can right click on the IE view and select "View Source" to see all the s
paces.

Thanks,
Tatyana
--------------------
>From: pcl <pcl.1cztw0@mail.webservertalk.com>
>Subject: "space" in .xml
>Date: Thu, 16 Sep 2004 02:04:38 -0500
>Message-ID: <pcl.1cztw0@mail.webservertalk.com>
>Organization: Web Servers forum
>User-Agent: www.webservertalk.com news gateway
>X-Newsreader: www.webservertalk.com news gateway
>X-Originating-IP: 203.113.150.149
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: ev1s-207-44-136-62.ev1servers.net 207.44.136.62
>Lines: 1
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2M
SFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:19783
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>

Hi all,
>
>I have a trouble with a special field's value. My require is that I

must return a 'space' value for a field if it not present in input

file. However, I receive a field like this (open with IE):
>
><TORI_CD/>
>(if I open it in text format, it probadly show :
><TORI_CD> </TORI_CD> )
>
>but I want it to display (in IE):
>
><TORI_CD> </TORI_CD>
>
>Actually, I am using an database adapter and I want to see my SQL

command :
>
>"Insert into TORI(TORI_CD(char 6),TORI_MEI) values(' ','Hallo')"
>
>istead of :
>
>"Insert into TORI(TORI_CD(char 6),TORI_MEI) values('','Hallo')"
>
>The reason is that TORI_CD is one of primary keys and I want to put a

'space' value for it if input value is null
>
>Thanks in advance
>pcl







--

pcl

------------------------------------------------------------------------

Posted via http://www.webservertalk.com

------------------------------------------------------------------------

View this thread: http://www.webservertalk.com/message395752.html


>


--

This posting is provided "AS IS" with no warranties, and confers no rights. 
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note:  For the benefit of the community-at-large, all responses to this mess
age are best directed to the newsgroup/thread from which they originated.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register