Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Generate an output in XML format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Generate an output in XML format
 Login/Join
 
Member
posted
Hi all,

I did an exhaustive search in the forum but couldn't find a way out on how to generate an output in FOCUS in XML format. Sounds easy but I have messed up my concepts.

Any suggestions?

Thanks

This message has been edited. Last edited by: arsagg,


FOCUS 7.6.11
Windows, Excel, LOTUS, ALPHA
 
Posts: 14 | Location: New Delhi | Registered: September 20, 2011Report This Post
Virtuoso
posted Hide Post
Maybe this? ON TABLE PCHOLD/HOLD/SAVE FORMAT XML

This message has been edited. Last edited by: Dan Satchell,
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Master
posted Hide Post
I suspect if you have found the 'ON TABLE HOLD FORMAT XML' command and decided it does not satisfy your needs, your real question is how to generate custom XML output. If so, you have to manually massage your output. See this thread (http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7237006016) particularly the link at the bottom.

+1 Dan. A rudimentary Google search (https://www.google.com/search?channel=fs&q=webfocus+xml+output&ie=utf-8&oe=utf-8) pulls up this link (http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5051016752) as the first result.

Also, I know the Forum search sucks (it's really no secret), but searching for 'XML output' also brings this thread (http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3821008331?r=1281046832) up on the first page. Both threads confirm what Dan and I are again writing here.


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Member
posted Hide Post
Dear Dan and ABT,

I accompplished my objective. Thanks for your replies.

Regards.


FOCUS 7.6.11
Windows, Excel, LOTUS, ALPHA
 
Posts: 14 | Location: New Delhi | Registered: September 20, 2011Report This Post
Guru
posted Hide Post
There's more than one way to represent the same data in XML.

While HOLD FORMAT XML creates an XML document of the FOCUS report with DataMigrator you can create XML with name/value pairs which may be more useful.

<record>
 <column name="COUNTRY">ENGLAND</column>
 <column name="CAR">JAGUAR</column>
 <column name="MODEL">V12XKE AUTO</column>
</record> 


However it's been my experience that when XML output is needed it's in a specific pre-defined format. From the DMC or WC you can create a synonym for an xsd (XML Schema Definition), a DTD or an XML document. Then with DataMigrator you can map to that structure to create XML as required.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Generate an output in XML format

Copyright © 1996-2020 Information Builders