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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Balanced Tag Alternative???

Status
Not open for further replies.

SGLong

Programmer
Jun 6, 2000
405
US
We are working on a new application that will parse through an XML file and create a PostScript document. We've requested a sample file from our customer based upon preliminary specifications and we are noticing a tag that we weren't expecting and it is causing some problems with the XML parser that we have created. Specifically, we have requested that they pass us an empty value inside of a value tag (i.e.
Code:
 <value> </value>
). What we are receiving from the customer is a single tag that looks like
Code:
 <value />
. IE 5.0 opens the customer file without any problem. Is the tag that we're seeing a valid alternative to a balanced pair? Your help will be greatly appreciated.
[sig][/sig]
 
indeed, when you have tags with no value in them, you can shortcut it that way
so
<code><value></value></code> is the same that
<code><value/></code>
 
There is a product called Pageflex MPower that does what you are talking about. It's quite pricey, though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top