Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to show empty element in tag

Status
Not open for further replies.

cli168

Programmer
Nov 20, 2006
10
US
Hi,
I use getXML with a stylesheet, in plsql. I notice for the follow defined in the xsl:

<Payload Operation="Insert" xmlns="">

the xmlns="", did not show up in the xml

but if xmlns has value, ie: <Payload Operation="Insert" xmlns="9999">

then the xmlns show up.

I need the xmlns to have no value.

How can I get the xmlns to show up in the xml file?

Thanks.
 
We send this file to another site for validation. The validation gives an error when it can not see the empty tag.
 
Well, I had once this kind of problem, we had to send an XML but any tag could have the value of '0', so instead of that it must show the tag with no value.
Actually we made this using VFP 9 (not the best but works) I know that there are also other programs with the same difficulties as yours to put empty tags and we just ereases all not needed tags values after in code (I know, not very smart, but again ... it works).
Viel gluck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top