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     [CLOSED] Creating MFD from XMl

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Creating MFD from XMl
 Login/Join
 
Gold member
posted
Hi ,

For the below XML , can someone help me in creating the MFD.

  
<DIMENSIONS>
   <NUM_DVALS>37209</NUM_DVALS>
   <DIMENSION NAME="D_PriceRange" SRC_FILE="/apps/endeca_myapp/eStoreSearch/data/state/autogen_dimensions.xml" SRC_TYPE="INTERNAL">
      <DIMENSION_ID ID="9993916"/>
      <DIMENSION_NODE>
         <DVAL TYPE="EXACT">
            <DVAL_ID ID="10018000"/>
            <SYN DISPLAY="TRUE" SEARCH="FALSE" CLASSIFY="FALSE">D_PriceRange</SYN>
         </DVAL>
      </DIMENSION_NODE>
   </DIMENSION>
   <DIMENSION NAME="D_Channel" SRC_FILE="/apps/endeca_myapp/eStoreSearch/data/state/autogen_dimensions.xml" SRC_TYPE="INTERNAL">
      <DIMENSION_ID ID="9993915"/>
      <DIMENSION_NODE>
         <DVAL TYPE="EXACT">
            <DVAL_ID ID="10013000"/>
            <SYN DISPLAY="TRUE" SEARCH="FALSE" CLASSIFY="FALSE">D_Channel</SYN>
         </DVAL>
         <DIMENSION_NODE>
            <DVAL TYPE="EXACT">
               <DVAL_ID ID="9993754"/>
               <SYN DISPLAY="TRUE" SEARCH="TRUE" CLASSIFY="TRUE">2</SYN>
            </DVAL>
         </DIMENSION_NODE>
         <DIMENSION_NODE>
            <DVAL TYPE="EXACT">
               <DVAL_ID ID="9993735"/>
               <SYN DISPLAY="TRUE" SEARCH="TRUE" CLASSIFY="TRUE">0</SYN>
            </DVAL>
         </DIMENSION_NODE>
         <DIMENSION_NODE>
            <DVAL TYPE="EXACT">
               <DVAL_ID ID="9993569"/>
               <SYN DISPLAY="TRUE" SEARCH="TRUE" CLASSIFY="TRUE">1</SYN>
            </DVAL>
         </DIMENSION_NODE>
      </DIMENSION_NODE>
   </DIMENSION>
</DIMENSIONS>


For example there is a parent node
DIMENSION_NODE and under which there is a child node but it has the same name as the parent node .

MFD:

  
FILENAME=autogen_dimensions, SUFFIX=XML, DATASET='/opt/webfocus/enterprise/adhoc/ibi/apps/egee/autogen_dimensions.xml',$

SEGMENT=DIMENSIONS, SEGTYPE=S0, $
FIELDNAME=DIMENSIONS, ALIAS=DIMENSIONS, USAGE=A1, ACTUAL=A1,$

SEGMENT=DIMENSION, SEGTYPE=S1, PARENT=DIMENSIONS,$
FIELDNAME=DIMENSION, ALIAS=DIMENSION, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSIONS, PROPERTY=ELEMENT,$
FIELDNAME=NAME, ALIAS=NAME, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION, PROPERTY=ATTRIBUTE, $
FIELDNAME=DIMENSION_ID, ALIAS=DIMENSION_ID, USAGE=A30, ACTUAL=A30,REFERENCE=DIMENSION, PROPERTY=ELEMENT, $
FIELDNAME=ID, ALIAS=ID, USAGE=A30, ACTUAL=A30,REFERENCE=DIMENSION_ID, PROPERTY=ATTRIBUTE, $

SEGMENT=DIMENSION_NODE, SEGTYPE=S2, PARENT=DIMENSION,$
FIELDNAME=DIMENSION_NODE, ALIAS=DIMENSION_NODE, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION, PROPERTY=ELEMENT,$
FIELDNAME=DVAL, ALIAS=DVAL, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION_NODE, PROPERTY=ELEMENT,$
FIELDNAME=DVAL_ID, ALIAS=DVAL_ID, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION_NODE, PROPERTY=ELEMENT,$
FIELDNAME=ID, ALIAS=ID, USAGE=A30, ACTUAL=A30,REFERENCE=DVAL_ID, PROPERTY=ATTRIBUTE, $
FIELDNAME=SYN, ALIAS=SYN, USAGE=A50, ACTUAL=A50,REFERENCE=DVAL, PROPERTY=ELEMENT,$

FIELDNAME=DIMENSION_NODE, ALIAS=CHILD_DIMENSION_NODE, USAGE=A10, ACTUAL=A10,REFERENCE=S2, PROPERTY=ELEMENT,$
FIELDNAME=DVAL, ALIAS=CHILDDVAL, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION_NODE, PROPERTY=ELEMENT,$
FIELDNAME=DVAL_ID, ALIAS=CHILDDVAL_ID, USAGE=A10, ACTUAL=A10,REFERENCE=DIMENSION_NODE, PROPERTY=ELEMENT,$
FIELDNAME=ID, ALIAS=CHILDID, USAGE=A30, ACTUAL=A30,REFERENCE=DVAL_ID, PROPERTY=ATTRIBUTE, $




Thanks!

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


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
 
Posts: 71 | Registered: April 17, 2009Report This Post
Virtuoso
posted Hide Post
Jan

when there is a XML file in the ideal world there also should be a XSD file that descripes this first XML file with all the tags.
If it is available WebFocus can read and convert that to the proper master file and then you can report on the original XML

you have to search the documentation on this matter , Information Builders should be able to help you




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
If you do not have the XSD, there are utilities out there, that will generate one from your XML file.

The XSD will be specific to that particular XML file though.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] Creating MFD from XMl

Copyright © 1996-2020 Information Builders