Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add chr+LF back into xml file
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184550
Message ID:
01184717
Views:
13
>i there an easy way to add chr(13)+chr(10) into an xml file (which does not have any?) for visual display?
>
>Peter

I don't think XML likes eols - maybe the "whitespace" feature does something that will help in this regard. I've written a parser that moves a hierarchial XML to an OCX Treeview and nests the child parent relation (elements and attributes). In mycase, I had to filter out the "#text tags" to make it work.

You can also nest an xml (providing you run a parse with VFP that adds the necessary DHTML (div) and TABLE tags to present a tree-view in an HTML doc.

And it works great - I can send you a screen shot of the result treeview if you thin's like to see it -

Someone told me you could open an XML in IE - but I have never tried it - rarely use IE - except when the non W3C DHTML cheats prove helpful!
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform