Grouping items
HelloI need help with a problem. I have a few groups of text. For example ("HELLO", 'HOW ARE YOU', 'FINE'). I need to see the them as if they were just a great text ("HELLO HOW ARE YOU FINE"), but anytime I need to know that one is selected, the modification, the new text, the format (it can be changed), etc.
I did it with a TextField using a separator tank (which makes invisible), but it did not work very well (and he also had problems with the images). So I decided to try this framework. My idea was to use a GroupElement for each text (such as DivElement). I have a textFlow with all text, but anytime I can see DivElement is selected.
However, this approach has a problem, I need to have:
-Groups that have more than one paragraph. (< div > < p > paragraph 1 < /p > < p > paragraph 2 < /p > < / div >) and
-Several groups into one paragraph (< p > < div > Group 1 < / div > < div > Group 2 < / div > < / p >)
A DivElement cannot be a child of an element ParagraphElement. In addition, if you use 2 DivElements, you get 2 paragraph (not what I need for the latter).
Is there a way to do this? Maybe extend a class?
Thank you very much
Martin
I think what you want to do is make them each spans in a single paragraph. With the most recent TLF builds all FlowElements including support for SpanElement property ID give a unique id to every SpanElement, and they merge. Should work in markup as well.
Tags: Adobe Open Source
Similar Questions
-
Hello world. Thank you for taking the time to look over my examples.
I can't group items with XSL.
Entry XML code:
< country >
< info enum = "CTRY" name = 'United States' States-total = "50" / >
< enum info = 'ST' name = 'New York' population = "8 244 910" / >
< enum info = 'ST' name = 'Chicago' population = "2 707 120" / >
< info enum = "CTRY" name = 'Germany' States-total = "16" / >
< enum info = 'ST' name = 'Berlin' population = "3 469 910" / >
< enum info = 'ST' name = 'Brandenburg' population = "2 500 000" / >
< / country >
------------------------------------------------------------------------------------------
My XSL:
< xsl: template match = "/" >
< country >
< xsl: for-each select = "Country/info" >
"< xsl: if test="@enum='CTRY "" > "
< CountryInfo >
< name > country: < xsl: value-of select="@name"/ > < / name >
"districts of <>< xsl: value-of select="@total-states "> < / xsl: value-of > < / districts >
< xsl: for-each select = "info/country /" >
"< xsl: if test="@enum='ST "" > "
< State >
< stateName > state name: < xsl: value-of select="@name"/ > < / stateName >
< statePop > State Population: < xsl: value-of select="@population"/ > < / statePop >
< / state >
< / xsl: if >
< / xsl: foreach >
< / CountryInfo >
< / xsl: if >
< / xsl: foreach >
< / country >
< / xsl: template >
My unwanted result:
< country >
< CountryInfo >
< name > country: United States of America < / name >
< > 50 districts < / districts >
< State >
< stateName > name of the State: New York < / stateName >
< statePop > State Population: 8 244 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Chicago < / stateName >
< statePop > State Population: 2 707 120 < / statePop >
< / state >
< State >
< stateName > name of the State: Berlin < / stateName >
< statePop > State Population: 3 469 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Brandenburg < / stateName >
< statePop > State Population: 2 500 000 < / statePop >
< / state >
< / CountryInfo >
< CountryInfo >
< name > country: Germany < / name >
< > 16 districts < / districts >
< State >
< stateName > name of the State: New York < / stateName >
< statePop > State Population: 8 244 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Chicago < / stateName >
< statePop > State Population: 2 707 120 < / statePop >
< / state >
< State >
< stateName > name of the State: Berlin < / stateName >
< statePop > State Population: 3 469 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Brandenburg < / stateName >
< statePop > State Population: 2 500 000 < / statePop >
< / state >
< / CountryInfo >
< / country >
---------------------------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++
My other XSL:
< xsl: template match = "/" >
"< xsl: for each group-select =" Country/info"group-by="@enum ">
< xsl: for each group-select = "current - group ()" group-by="@name" >
"< xsl: if test="@enum='CTRY "" > "
< country >
< CountryInfo >
< name > country: < xsl: value-of select="@name"/ > < / name >
"districts of <>< xsl: value-of select="@total-states "> < / xsl: value-of > < / districts >
"< xsl: for each group-select =" info/country / "group-by="@enum ">
"< xsl: if test="@enum='ST "" > "
< State >
< stateName > state name: < xsl: value-of select="@name"/ > < / stateName >
< statePop > State Population: < xsl: value-of select="@population"/ > < / statePop >
< / state >
< / xsl: if >
< / xsl: for each group->
< / CountryInfo >
< / country >
< / xsl: if >
< / xsl: for each group->
< / xsl: for each group->
< / xsl: template >
Other undesirable results:
< country >
< CountryInfo >
< name > country: United States of America < / name >
< > 50 districts < / districts >
< State >
< stateName > name of the State: New York < / stateName >
< statePop > State Population: 8 244 910 < / statePop >
< / state >
< / CountryInfo >
< / country >
< country >
< CountryInfo >
< name > country: Germany < / name >
< > 16 districts < / districts >
< State >
< stateName > name of the State: New York < / stateName >
< statePop > State Population: 8 244 910 < / statePop >
< / state >
< / CountryInfo >
< / country >
+++++++++++++++++++++++++++++++++++++++++
Expected result:
< country >
< CountryInfo >
< name > country: United States of America < / name >
< > 50 districts < / districts >
< State >
< stateName > name of the State: New York < / stateName >
< statePop > State Population: 8 244 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Chicago < / stateName >
< statePop > State Population: 2 707 120 < / statePop >
< / state >
< / CountryInfo >
< CountryInfo >
< name > country: Germany < / name >
< > 16 districts < / districts >
< State >
< stateName > name of the State: Berlin < / stateName >
< statePop > State Population: 3 469 910 < / statePop >
< / state >
< State >
< stateName > name of the State: Brandenburg < / stateName >
< statePop > State Population: 2 500 000 < / statePop >
< / state >
< / CountryInfo >
< / country >
If possible, how can I produce my desired given result XML entry code?
-
Creating an OBIEE analysis that uses a filter to group items in a column
I am needing to group several elements in an analysis that I build in OBIEE 11g
In my field, I have a table called result_code. The codes are numeric starting with 100, 200, 300, 400, etc. all the way up to 900. I want to put codes 100-400 in a group called 'Success' and to put codes 500-800 in a group called "Fail", leaving the 900 for a group code called 'unknown '.
I'm doing it through a filter of analysis by selecting 'SQL expression' under ' add more Options and enter the instruction box below.
SELECT case when result_code = '100' then 'Success'
When result_code = "200" and "success".
When result_code = '300' and 'Success'
When result_code = '400' and 'Success'
When result_code = "500" then "go bankrupt".
When result_code = "600" and "bankrupt".
When result_code = '700' then 'failure '.
When result_code = '800' then 'Fail '.
another case of end 'unknown '.
OF 'results '.
I get a syntax error when I try to run it. I don't know if entering an expression SQL is the right way to address the issue. What is the best way to group items in a filter? If a SQL expression is the right way to go on what should the syntax look like?Hi MJ,.
To meet the syntax error, the case statement must end with just a 'end' and not a 'end case. But I think that you can directly create a new column in the criteira for grouping in the analysis. You don't need to create a filter for it.
I can think of the following way to get what you're trying to do:
1. use locations as Naveen has suggested. That would be the best way that binning is a feature provided by OBI to reach exactly the same thing.
2. try your way. From the result code in a column of answers
3. create a new column to the RPD/database for the populous result code. If you have answers adhoc users, will save their efforts to derive the result every time code.Hope this helps,
GerardPublished by: gauravnankar on April 2, 2013 22:51
-
Hello
In "Select a list item", I want to display items in list as grouped items. Suppose that grouping the child of his master code.
For example: [Fruits]
Apple
Orange
Goa
[Animals]
Tiger
Lion
Elephant
[Birds]
......
... etc.
How can I do?
Concerning
MohanThere is a plugin for this... called group selection list:
http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-plug-ins-182042.html -
[InDesign CS2 and CS3]
Hello!
I create my own subclass CResponder to manage the kNewPISignalResponderService. I mentioned earlier that I was going to deal with in my own implementation of answering service. I need to detect when a new kGroupItemBoss is created and initialize custom interfaces added to the boss.
Sub CustomResponder : Answer (ISignalMgr* signalMgr) { }
ServiceID serviceTrigger = signalMgr->GetServiceID();
pass (serviceTrigger.) Get())
{
case kNewPISignalResponderService :
{
this->HandleNewItemSignal()signalMgr);
}
}
(BTW, what is the difference between kNewPISignalResponderService & kNewPageItemActionService?)
To do this I need to iterate over the items in groups, but the iHierarchy > GetChildCount() on the group hierarchy always returns 0 items. Is there something I'm not consider? Is there another way to detect when a new group was formed?
{}
/ / Get el page point
ASSERT (signalMgr! = nil);
If (signalMgr == nil) { }
break;
}
NewPISignalData InterfacePtr < INewPISignalData > (signalMgr, UseDefaultIID());
ASSERT (newPISignalData! = nil);
If (newPISignalData == nil) { }
break;
}
get the point of page reference
UIDRef pageItemRef = newPISignalData-> GetPageItem();
NewPIHierarchy InterfacePtr < IHierarchy > (pageItemRef, IID_IHIERARCHY);
if(!newPIHierarchy) break;
//is it a group?
if (GetClass (newPIHierarchy) == kGroupItemBoss)
{
//iterate through all the elements of the Group and do something
for (int x = 0; x < newPIHierarchy > - GetChildCount(); x ++) { }
{
do something if the result is 0...
}
}
else break;
{ } while (false);
Hello
I think the newPISignalresponder is called after the page group item is created and before any point page is added to the group.
But you can see the document for the IID_IHIERARCHY_DOCUMENT PMIID with the ClassID kAddToHierarchyCmdBoss change. It will be called twice. The changedBy argument is the command from which you can get the status of the ICommand::kNotDone or ICommand::kDone command. The list of items in the command contains the elements of the addition of the page.
Markus
-
Group items with a changing diapers
I want to group some items, move it then it separated again. After dissociation, however, all the elements are on a single layer.
It is possible to group elements move it and then he disassociate with keeps them in the same layer as they were before I grouped them?
Thanks for any help.
I don't think it's possible. It would be possible to do it with a script.
Maybe check out the Forum script that if there is a way to group a set of items with a script - then when separate you with a script it releases their return to their original positions of layer?
-
Script XMLrule or? to group items in the new parent?
Back after a few weeks on an urgent project no more certain Adobe recovery ...
I wonder if anyone has XML / XMLrule sufficient experience to give me at least a hint on the challenge according to script. I discovered scripts online tutorials, documents and example files (huge collection)... unfortunately I can not find even the beginnings of something to address that resembles a common challenge for me and highly scriptable.
My example is below. I can't find snippets of code for one of the following:
-Browse a set of items to search for and select a set of desired of the elements
-insertion of a set selected (range?) of the elements in a new parent
It's pretty clear when performed manually in the UI, but opaque in the script / XMLrules environment.
Anyone has any advice? Or a book / resource that is hiding enough deep?
Thank you very much
Pete
----------------------
Example of the problem:
Imagine a certain level of a structure of tag that you have ANY kind of repeat the sequence of the tag. For example (in form very abbreviated)
< people >
< name >
< address >
< Phone >
< name >
< address >
< Phone >
< name >
< address >
< Phone >
<>projects
< name >
< startdate >
< enddate >
< name >
< startdate >
< enddate >
What I want is sets of elements under a new parent group, something like
(almost)... GatherElementsUnder (XPath, StartWithElement, NewParentElement)
That is to say
GatherElementsUnder(/people,name,person)
GatherElementsUnder(/projects,name,project)
would produce
< people >
< person >
< name >
< address >
< Phone >
< person >
< name >
< address >
< Phone >
< person >
< name >
< address >
< Phone >
<>projects
< project >
< name >
< startdate >
< enddate >
< project >
< name >
< startdate >
< enddate >
I answered this now. Manuscript sample, as well as comments link, is here: http://forums.adobe.com/message/4963977
-
Can disable us by default from the menu of Illustrator groups/items?
Hi all..!!
I was wondering if you can turn any menu item/group in Illustrator? I work on Illustrator CS4, 5 under windows. To be more precise, we can disable the kSaveMenuGroup, so that the save options appear disabled... ?? I tried to use the methods described in the reference structure AIMenuSuite . But this only disabled groups predefined by the plugins... Any help would be appreciated...
Thank you...!!
btemp said exactly what I would say. You can prevent the Save in a kind of kludgey way, but I don't know of anyway to prevent save as or save a copy under the name, etc.
-
Group items of the picture more closely
I remember seeing a video that shows a scene with four golfers. The video showed how close all golfers. Golfers were hidden when moving, so that golfers had not changed, but the background has been compressed.
I would like to make a similar change to a photo I. In other words, I would like to move two items in a photo more closely together without changing the elements.
How can I do this?
CASE detects the area 'dead' in an image. Here's your video of Russell Brown:
CS4 content aware scale Adobe evangelists Russell Brown of Adobe TV - YouTube. -
Try to use an existing page with MSO as a model for a new page and looks like I can remove only an entire State, not a piece of. Any advice?
Thank you
Select items in the layers panel, and then delete.
-
Custom ItemRenderer mobile adivce: grouping items
Hello
I'm building an itemRenderer customized for a Flex Mobile application.
It will be like 3 columns, the first 2 with 2 StyleableTextField stacked vertically and the 3rd with a single StyleableTextField.
I downloaded a symbolic image of what I mean. (symbolic = fields represented in the image are imaginary - so you will know if she's not supposed to)
I have everything in place and I was wondering if I should:
(A) position everything based on X and Y with setElementPosition()
(B) create 2 VGroups for the first 4 StyleableTextFields and position them.
Concerned about the speed.
Thank you.
Yes is faster because there are less DisplayObjects, but also the group uses the layout of spark system which is a system of very general layout capable of handling many cases of use. When a you presentation elements, using setElementSize () /setElementPosition () allow you to ask specific things only your converter use case which means less code should run and the rendering will be faster.
You could start with B if find you it easier to code. Just be sure to test the performance of your application. If your scenario feels good on your target devices, then you probably haven't need to optimize a plus. If it is not fast enough, then you might want to try A and see how it compares.
-
VARRAY STORE ACE on xsd:group items
Hello
I have a XSD which includes several other XSD. A xsd:group is included in the "root" XSD (< ref = "someDefinition"... xsd:group >) inside one of the elements.
My problem is that I can't figure out how to create a table for that on the form:
CREATE TABLE XMLTYPE PROPERTY
XMLSCHEMA 'obj_foo.xsd '.
ELEMENT "foo".
VARRAY 'XMLDATA '. "bar '." "" elementInGroup ".
Group_element_table1 STORE AS TABLE
((CLÉ PRIMAIRE (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)))
The code above gives me "an attempt was made to access an attribute is no object type.
Y at - it a particular way to do this, or I more likely another error?C:\xdb\schemas\WITSML_1311>sqlplus /nolog @testcase %CD% SQL*Plus: Release 11.2.0.0.2 Beta on Fri Apr 24 17:44:48 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. SQL> spool testase.log SQL> -- SQL> connect / as sysdba Connected. SQL> -- SQL> set define on SQL> set timing on SQL> -- SQL> define USERNAME = WITSML SQL> -- SQL> def PASSWORD = WITSML SQL> -- SQL> def SOURCEDIR = &1 SQL> def USER_TABLESPACE = USERS SQL> -- SQL> def TEMP_TABLESPACE = TEMP SQL> -- SQL> drop user &USERNAME cascade 2 / old 1: drop user &USERNAME cascade new 1: drop user WITSML cascade User dropped. Elapsed: 00:00:03.92 SQL> grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD 2 / old 1: grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD new 1: grant create any directory, drop any directory, connect, resource, alter session, create view to WITSML identified by WITSML Grant succeeded. Elapsed: 00:00:00.01 SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE 2 / old 1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE new 1: alter user WITSML default tablespace USERS temporary tablespace TEMP User altered. Elapsed: 00:00:00.00 SQL> connect &USERNAME/&PASSWORD Connected. SQL> SQL> create or replace directory WITSML as '&SOURCEDIR' 2 / old 1: create or replace directory WITSML as '&SOURCEDIR' new 1: create or replace directory WITSML as 'C:\xdb\schemas\WITSML_1311' Directory created. Elapsed: 00:00:00.00 SQL> -- SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'typ_baseType.xsd', 5 schemadoc => bfilename('WITSML','typ_baseType.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.21 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'typ_quantityClass.xsd', 5 schemadoc => bfilename('WITSML','typ_quantityClass.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.17 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'typ_measureType.xsd', 5 schemadoc => bfilename('WITSML','typ_measureType.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:01.70 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'typ_catalog.xsd', 5 schemadoc => bfilename('WITSML','typ_catalog.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.92 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'typ_dataTypes.xsd', 5 schemadoc => bfilename('WITSML','typ_dataTypes.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.89 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'attgrp_uid.xsd', 5 schemadoc => bfilename('WITSML','attgrp_uid.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.26 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_location.xsd', 5 schemadoc => bfilename('WITSML','cs_location.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.37 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_referencePoint.xsd', 5 schemadoc => bfilename('WITSML','cs_referencePoint.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.35 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_projectionx.xsd', 5 schemadoc => bfilename('WITSML','cs_projectionx.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.42 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_localCRS.xsd', 5 schemadoc => bfilename('WITSML','cs_localCRS.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.32 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_geodeticModel.xsd', 5 schemadoc => bfilename('WITSML','cs_geodeticModel.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.31 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_wellCRS.xsd', 5 schemadoc => bfilename('WITSML','cs_wellCRS.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.37 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_refWellWellbore.xsd', 5 schemadoc => bfilename('WITSML','cs_refWellWellbore.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.31 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_refWellWellboreRig.xsd', 5 schemadoc => bfilename('WITSML','cs_refWellWellboreRig.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.32 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_wellDatum.xsd', 5 schemadoc => bfilename('WITSML','cs_wellDatum.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.39 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'grp_well.xsd', 5 schemadoc => bfilename('WITSML','grp_well.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.43 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_commonData.xsd', 5 schemadoc => bfilename('WITSML','cs_commonData.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.26 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_customData.xsd', 5 schemadoc => bfilename('WITSML','cs_customData.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.12 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'cs_documentInfo.xsd', 5 schemadoc => bfilename('WITSML','cs_documentInfo.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.50 SQL> begin 2 dbms_xmlschema.registerSchema 3 ( 4 schemaurl => 'obj_well.xsd', 5 schemadoc => bfilename('WITSML','obj_well.xsd'), 6 local => TRUE, 7 genTypes => TRUE, 8 genBean => FALSE, 9 genTables => FALSE, 10 ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE 11 ); 12 end; 13 / PL/SQL procedure successfully completed. Elapsed: 00:00:00.54 SQL> CREATE TABLE WELL OF XMLTYPE 2 XMLSCHEMA "obj_well.xsd" 3 ELEMENT "wells" 4 VARRAY "XMLDATA"."well" 5 STORE AS TABLE well_table 6 ( 7 (PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)) 8 VARRAY "wellDatum" 9 STORE AS TABLE well_wellDatum_table1 10 ( 11 (PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)) 12 ) 13 ) 14 / Table created. Elapsed: 00:00:02.62 SQL> SQL>
and note that since the generated names are mixed case we use city identified in SQL
SQL> desc WELL Name Null? Type ----------------------------------------- -------- ---------------------------- TABLE of SYS.XMLTYPE(XMLSchema "obj_well.xsd" Element "wells") STORAGE Object-relational TYPE "obj_wells3084_T" SQL> desc "obj_wells3084_T" "obj_wells3084_T" is NOT FINAL Name Null? Type ----------------------------------------- -------- ---------------------------- SYS_XDBPD$ XDB.XDB$RAW_LIST_T version VARCHAR2(16 CHAR) documentInfo cs_documentInfo3080_T well well3085_COLL SQL> desc "well3085_COLL" "well3085_COLL" VARRAY(2147483647) OF obj_well3083_T "obj_well3083_T" is NOT FINAL Name Null? Type ----------------------------------------- -------- ---------------------------- SYS_XDBPD$ XDB.XDB$RAW_LIST_T uid VARCHAR2(64 CHAR) name VARCHAR2(64 CHAR) nameLegal VARCHAR2(64 CHAR) numLicense VARCHAR2(64 CHAR) numGovt VARCHAR2(64 CHAR) dTimLicense TIMESTAMP(6) field VARCHAR2(64 CHAR) country VARCHAR2(32 CHAR) state VARCHAR2(32 CHAR) county VARCHAR2(32 CHAR) region VARCHAR2(32 CHAR) district VARCHAR2(32 CHAR) block VARCHAR2(32 CHAR) timeZone VARCHAR2(4000 CHAR) operator VARCHAR2(64 CHAR) operatorDiv VARCHAR2(64 CHAR) pcInterest dimensionlessMeasure3030_T numAPI VARCHAR2(32 CHAR) statusWell XDB.XDB$ENUM_T purposeWell XDB.XDB$ENUM_T fluidWell XDB.XDB$ENUM_T directionWell XDB.XDB$ENUM_T dTimSpud TIMESTAMP(6) dTimPa TIMESTAMP(6) wellheadElevation wellElevationCoord3039_T wellDatum wellDatum3068_COLL groundElevation wellElevationCoord3039_T waterDepth wellVerticalDepthCoord3040_T wellLocation wellLocation3069_COLL referencePoint referencePoint3070_COLL wellCRS wellCRS3071_COLL commonData cs_commonData3072_T customData cs_customData3073_T SQL>
-
How to achieve the effect of substitution on the grouped items?
In my head, I have an image as an icon, click underneath text. When you move your mouse over the icons he says even with the text. Our to get both the icon and the text to highlight together when hit?
Example: http://nsc002.businesscatalyst.com/schedule.html
See you soon,.
Rhys
Put the two elements within a widget Widget Library status button. The status button widget will define the rollover/click box and all the elements in the button changes state when the mouse is within the limits of the State of button.
-
How to browse all path elements present in the group through jsx items?
I want to browse all the elements of this path in the group element and group items can have several unit inside the item they want to cross deep into the tree, I did through recursive function, but could not get exactly the result please share any script code.
function groupTopath (pageItems, index) {}
try {}
for (var j = 0; j)< pageitems.length;="" j++)="">
If (.) TypeName pageItems [j] == 'GroupItem') {}
groupTopath (.pageItems [j] pageItems, index);
} ElseIf (.) TypeName pageItems [j] == 'PathItem') {}
If ((.selectedPathPoints.length pageItems [j] == 13 ||.)) selectedPathPoints.length pageItems [j] == 8) & (pageItems [j] .height< 3="" &&="" pageitems[j].width="">< 2.5))="">
tmSymbolPathItems [index] .push (pageItems [j]);
}
}
}
} catch (e) {}
}
}
-
How to create a group box in Labview
I want to make a group on elements in a single window. How to make one. For ex: in QT this feature is called Groupbox. In Labview, I searched this word its not available.
Please help me
Thanks in advance,
Hi Harish,
Seek the help of LabVIEW for "cluster".
Or are you talking about 'simple' sets and grouping items using the menu on the front panel button?
Maybe you are looking for
-
Portege R830 - external HARD disk error - "target not found device.
Hi all I recently bought a 1HD R830 which has windows 7 as its OS.I have a few old external hard disks that were formatted on windows vista. When I try to use it on my new computer it says "target not found device.I called support for the external ha
-
How to write data from the acquisition of data in NetCDF format?
I connect to a set of data from the sensor through the DAQ assistant and want to write all data in NetCDF format. I have the required plugins installed, but still can not find how to do this. Or the labview can only read the netcdf files, but cannot
-
dv5 - 2077cl: upgrade to SSD drive
Is the operating system windows 7 configured to work automatically in sata ahci mode? I read on a blog that it is and that's why its not available as a selection in the system BIOS. Can anyone confirm? My system is a platform amd 880g with radeon hd4
-
How to fix WLM 2011 to remove emails from my hotmail server account once they have been synchronized with the WML client. ? I've seen several references in forums to an option that is located on the Advanced tab in the menu Options/Email accounts/pro
-
When I'm in the library folder and I want to do a special folder to let's say moroccoin, for some reason, I can't make new folders. When I press the button new file nothing happens. What in the heck have I done? How the hell do I?