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

Taking out and inserting Node of data from XML files - Regex Help 1

Status
Not open for further replies.

dmazzini

Programmer
Jan 20, 2004
480
0
0
US
Code:
Hi guys 

I got a question about how to take out/insert a block of 
[maroon]data[/maroon] [red]([/red]Nodes[red])[/red] from XML docs [red]"[/red][purple]without[/purple][red]"[/red] [url=http://perldoc.perl.org/functions/use.html][black][b]use[/b][/black][/url] [green]any[/green] XML parsers.
These are huge xml files, some of them more than [fuchsia]700[/fuchsia] Mb.

Example file might looks like

[red][[/red]code[red]][/red]
<Root>
<Node [fuchsia]1[/fuchsia]>
x
x
x
<[red]/[/red][purple]Node 1>[/purple]
[purple]<Node 2>[/purple]
[purple]y[/purple]
[purple]y[/purple]
[purple]y[/purple]
[purple]<[/purple][red]/[/red]Node [fuchsia]2[/fuchsia]>
<Node [fuchsia]1[/fuchsia]>
a
b
c
<[red]/[/red][purple]Node 1>[/purple]
[purple]<[/purple][red]/[/red]Root>
[red][[/red][red]/[/red][purple]code][/purple]

[purple]Here a logic that works well, but it's not elegant at all[/purple]

[purple][code][/purple]
[purple]#![/purple][red]/[/red]usr/bin/perl
[black][b]use[/b][/black] [green]strict[/green][red];[/red]

[url=http://perldoc.perl.org/functions/my.html][black][b]my[/b][/black][/url] [blue]$source_xml_file[/blue]= [red]qq([/red][purple]source.xml[/purple][red])[/red][red];[/red]
[black][b]my[/b][/black] [blue]$output_xml_file[/blue] = [red]qq([/red][purple]output.xml[/purple][red])[/red][red];[/red]
[black][b]my[/b][/black] [red]([/red][blue]$flag_start[/blue],[blue]$intext[/blue][red])[/red][red];[/red]

[url=http://perldoc.perl.org/functions/open.html][black][b]open[/b][/black][/url][red]([/red]DATA,[blue]$source_xml_file[/blue][red])[/red] or [url=http://perldoc.perl.org/functions/die.html][black][b]die[/b][/black][/url] [red]"[/red][purple]Failed opening [blue]$source_xml_file[/blue][purple][b]\n[/b][/purple][/purple][red]"[/red][red];[/red]
[black][b]open[/b][/black] XMLFILE, [red]"[/red][purple]>[blue]$output_xml_file[/blue][/purple][red]"[/red] or [black][b]die[/b][/black] [red]"[/red][purple]Can't open [blue]$output_xml_file[/blue]: [blue]$![/blue][purple][b]\n[/b][/purple][/purple][red]"[/red][red];[/red]

[blue]$flag_start[/blue]=[fuchsia]1[/fuchsia][red];[/red]
[olive][b]while[/b][/olive] [red]([/red][blue]$intext[/blue] = <DATA>[red])[/red] [red]{[/red]
    	     [url=http://perldoc.perl.org/functions/chomp.html][black][b]chomp[/b][/black][/url] [blue]$intext[/blue][red];[/red]
    	     [olive][b]if[/b][/olive] [red]([/red][blue]$intext[/blue] =~[red]/[/red][purple][purple][b]\<[/b][/purple]gn[purple][b]\:[/b][/purple]GsmRelation[/purple][red]/[/red][red])[/red] [red]{[/red]   [gray][i]# Start Node[/i][/gray]
    	     	  [blue]$flag_start[/blue]=[fuchsia]0[/fuchsia][red];[/red]    	     	
    	     [red]}[/red]  
    	     
    	     [olive][b]if[/b][/olive] [red]([/red][blue]$intext[/blue] =~[red]/[/red][purple][purple][b]\<[/b][/purple][purple][b]\/[/b][/purple]gn[purple][b]\:[/b][/purple]GsmRelation[purple][b]\>[/b][/purple][/purple][red]/[/red][red])[/red] [red]{[/red]   [gray][i]# End Node[/i][/gray]
    	     	  [blue]$flag_start[/blue]=[fuchsia]1[/fuchsia][red];[/red]    	     	
    	     [red]}[/red]   	     
    	     
    	     [url=http://perldoc.perl.org/functions/print.html][black][b]print[/b][/black][/url]  XMLFILE [red]"[/red][purple][blue]$intext[/blue][purple][b]\n[/b][/purple][/purple][red]"[/red] [olive][b]if[/b][/olive] [red]([/red][blue]$flag_start[/blue]==[fuchsia]1[/fuchsia] && [blue]$intext[/blue] !~[red]/[/red][purple][purple][b]\<[/b][/purple][purple][b]\/[/b][/purple]gn[purple][b]\:[/b][/purple]GsmRelation[purple][b]\>[/b][/purple][/purple][red]/[/red][red])[/red][red];[/red]
    	     	
[red]}[/red] 

[url=http://perldoc.perl.org/functions/close.html][black][b]close[/b][/black][/url] XMLFILE[red];[/red] 
[black][b]close[/b][/black] DATA[red];[/red]


[red][[/red][red]/[/red][purple]code][/purple]

[purple]Data Example[/purple]

[purple][code][/purple]
[purple]__DATA__[/purple]
[purple]<es:pOffset1Fach>0<[/purple][red]/[/red][maroon]es[/maroon][maroon]:[/maroon]pOffset1Fach>
<[maroon]es[/maroon][maroon]:[/maroon]pOffset3Fach>[fuchsia]0[/fuchsia]<[red]/[/red][purple]es:pOffset3Fach>[/purple]
[purple]<es:administrativeState>1<[/purple][red]/[/red][maroon]es[/maroon][maroon]:[/maroon]administrativeState>
<[red]/[/red][purple]es:vsDataFach>[/purple]
[purple]<[/purple][red]/[/red][maroon]xn[/maroon][maroon]:[/maroon]attributes>
<[red]/[/red][purple]xn:VsDataContainer>[/purple]
[purple]<gn:GsmRelation id="BQ04106A" modifier = "create"><gn:attributes>[/purple]
[purple]<gn:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,vsDataExternalGsmCell=BQ04106A<[/purple][red]/[/red][maroon]gn[/maroon][maroon]:[/maroon]adjacentCell>
<[red]/[/red][purple]gn:attributes>[/purple]
[purple]<xn:VsDataContainer id="BQ04106A" modifier = "create">[/purple]
[purple]<xn:attributes>[/purple]
[purple]<xn:vsDataType>vsDataGsmRelation<[/purple][red]/[/red][maroon]xn[/maroon][maroon]:[/maroon]vsDataType>
<[maroon]xn[/maroon][maroon]:[/maroon]vsDataFormatVersion>EricssonSpecificAttributes[fuchsia].6.2[/fuchsia]<[red]/[/red][purple]xn:vsDataFormatVersion>[/purple]
[purple]<es:vsDataGsmRelation>[/purple]
[purple]<es:qOffset1sn>8<[/purple][red]/[/red][maroon]es[/maroon][maroon]:[/maroon]qOffset1sn>
<[maroon]es[/maroon][maroon]:[/maroon]mobilityRelationType>[fuchsia]0[/fuchsia]<[red]/[/red][purple]es:mobilityRelationType>[/purple]
[purple]<es:selectionPriority>10<[/purple][red]/[/red][maroon]es[/maroon][maroon]:[/maroon]selectionPriority>
<[red]/[/red][purple]es:vsDataGsmRelation>[/purple]
[purple]<[/purple][red]/[/red][maroon]xn[/maroon][maroon]:[/maroon]attributes>
<[red]/[/red][purple]xn:VsDataContainer>[/purple]
[purple]<[/purple][red]/[/red][maroon]gn[/maroon][maroon]:[/maroon]GsmRelation>
<[maroon]gn[/maroon][maroon]:[/maroon]GsmRelation id=[red]"[/red][purple]BQ04106C[/purple][red]"[/red] modifier = [red]"[/red][purple]create[/purple][red]"[/red]><[maroon]gn[/maroon][maroon]:[/maroon]attributes>
<[maroon]gn[/maroon][maroon]:[/maroon]adjacentCell>SubNetwork=ONRM_ROOT_MO_R,vsDataExternalGsmCell=BQ04106C<[red]/[/red][purple]gn:adjacentCell>[/purple]
[purple]<[/purple][red]/[/red][maroon]gn[/maroon][maroon]:[/maroon]attributes>
<[maroon]xn[/maroon][maroon]:[/maroon]VsDataContainer id=[red]"[/red][purple]BQ04106C[/purple][red]"[/red] modifier = [red]"[/red][purple]create[/purple][red]"[/red]>
<[maroon]xn[/maroon][maroon]:[/maroon]attributes>
<[maroon]xn[/maroon][maroon]:[/maroon]vsDataType>vsDataGsmRelation<[red]/[/red][purple]xn:vsDataType>[/purple]
[purple]<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2<[/purple][red]/[/red][maroon]xn[/maroon][maroon]:[/maroon]vsDataFormatVersion>
<[maroon]es[/maroon][maroon]:[/maroon]vsDataGsmRelation>
<[maroon]es[/maroon][maroon]:[/maroon]qOffset1sn>[fuchsia]8[/fuchsia]<[red]/[/red][purple]es:qOffset1sn>[/purple]
[purple]<es:mobilityRelationType>0<[/purple][red]/[/red][maroon]es[/maroon][maroon]:[/maroon]mobilityRelationType>
<[maroon]es[/maroon][maroon]:[/maroon]selectionPriority>[fuchsia]7[/fuchsia]<[red]/[/red][purple]es:selectionPriority>[/purple]
[purple][[/purple][red]/[/red][red]code[/red][red]][/red]

The question is Could I [black][b]use[/b][/black] [green]a[/green] generic regular expression 
to find [olive][b]when[/b][/olive] a node start and [olive][b]when[/b][/olive] it ends and then take 
it out from the file. I want to have as well a routine
to add a node in the file specifing the end tag from 
previous node . 
MY GOAL IS JUST USE A REGEX. Not XML parsers.

Pseudocode

[red][[/red]code[red]][/red]

[url=http://perldoc.perl.org/functions/sub.html][black][b]sub[/b][/black][/url] [maroon]take_node_out[/maroon][red]{[/red]
    [black][b]my[/b][/black] [red]([/red][blue]$file[/blue],[blue]$start_tag[/blue],[blue]$end_tag[/blue][red])[/red]= [blue]@_[/blue][red];[/red]
    [blue]$/[/blue]=[url=http://perldoc.perl.org/functions/undef.html][black][b]undef[/b][/black][/url][red];[/red]
    [black][b]open[/b][/black] FH, [red]"[/red][purple]<[blue]$file[/blue][/purple][red]"[/red][red];[/red]
    [blue]$xmldata[/blue]=<FH>[red];[/red]
    [black][b]close[/b][/black] FH[red];[/red]
    [blue]$xmldata[/blue]=~ [red]s/[/red][purple][purple][b]\$[/b][/purple]start_tag[purple][b]\n[/b][/purple](.*)[purple][b]\n[/b][/purple][purple][b]\$[/b][/purple]end_tag[/purple][red]/[/red][purple][/purple][red]/[/red][red]g[/red][red];[/red] [gray][i]# REGEX TO CREATE[/i][/gray]
    [black][b]open[/b][/black] FH, [red]"[/red][purple]>[blue]$file[/blue][/purple][red]"[/red][red];[/red]
    [black][b]print[/b][/black] FH [red]"[/red][purple][blue]$xmldata[/blue][/purple][red]"[/red][red];[/red]
    [black][b]close[/b][/black] FH[red];[/red]
[red]}[/red]


[black][b]sub[/b][/black] [maroon]insert_node[/maroon] [red]{[/red]
    [black][b]my[/b][/black] [red]([/red][blue]$file[/blue],[blue]$end_tag_fromothernode[/blue],[blue]$nodetoadd[/blue][red])[/red]= [blue]@_[/blue][red];[/red] 
    [blue]$/[/blue]=[black][b]undef[/b][/black][red];[/red]
    [black][b]open[/b][/black] FH, [red]"[/red][purple]<[blue]$file[/blue][/purple][red]"[/red][red];[/red]
    [blue]$xmldata[/blue]=<FH>[red];[/red]
    [black][b]close[/b][/black] FH[red];[/red]
    [blue]$xmldata[/blue]=~ [red]s/[/red][purple][purple][b]\$[/b][/purple]end_tag_fromothernode[purple][b]\$[/b][/purple]end_tag_fromothernode[purple][b]\.[/b][/purple][/purple][red]/[/red][purple][blue]$nodetoadd[/blue][/purple][red]/[/red][red]g[/red][red];[/red] [gray][i]# REGEX TO CREATE[/i][/gray]
    [black][b]open[/b][/black] FH, [red]"[/red][purple]>[blue]$file[/blue][/purple][red]"[/red][red];[/red]
    [black][b]print[/b][/black] FH [red]"[/red][purple][blue]$xmldata[/blue][/purple][red]"[/red][red];[/red]
    [black][b]close[/b][/black] FH[red];[/red]
[red]}[/red]

[red][[/red][red]/[/red][purple]code][/purple]
[tt]------------------------------------------------------------
Pragmas (perl 5.10.0) used :
[ul]
[li]strict - Perl pragma to restrict unsafe constructs[/li]
[/ul]
Other Modules used :
[ul]
[li]a[/li]
[li]any[/li]
[/ul]
[/tt]

dmazzini
GSM/UMTS System and Telecomm Consultant

 
It's not that simple.
First you should define what to do with multiple copies of the tag. For deletion that's simple, I assume you just drop all occurrences; for insertion you would insert after the first occurrence, or all occurrences or you should specify how to find the correct occurrence.
Another question is about when you delete a node that contains other nodes: I assume that you want to delete everything that's contained.
Assuming that you want to delete all the occurrences, all the contained nodes, that the node tags are case insensitive and the addition is performed after all occurrences, these should be the regexes
Code:
$xmldata=~s/$start_tag.*?$end_tag//gis; # REGEX TO DELETE
$xmldata=~s/$end_tag_fromothernode/$end_tag_fromothernode$nodetoadd/gis; # REGEX TO INSERT
However, as you refer to large files, I would consider using string functions ([tt]index, substr[/tt]) as these would be more efficient, especially if you don't need case insensitiveness. Also note that the above regexes assume that the tag format is always the same (e.g.no spaces in the tag)

Franco
: Online engineering calculations
: Magnetic brakes for fun rides
: Air bearing pads
 
FLIP FLOP operator would work in this case, if you need to remove a BLOCK

Code:
while (<DATA>) {
     next if ($_ =~ /startPtt/../endPatt/);
     do somethin here;
}
The other thing in I see is in your nodes example is:
<node1>xx</node1>
<node2>xx</node2>
<node1>xx</node1>

How can you diff between the first <node1> and 2nd <node1>? I'm sure a simple counter would work?
 
Thankss guys for your replies.

Prex1 reges works fine. I tried as well max1x "FIL FLOP" operator but it did work.

max1x I tried it:
Code:
#!/opt/nokianms/bin/perl
# ##################################################################

use strict;
# This need revision.

my ($xmldata);
my $file=qq(MYINPUT.xml);

my $start_tag=qq(<un:UtranRelation);
my $end_tag= qq(<\/un:UtranRelation\>);

print "START:$start_tag ==>ENDTAG:$end_tag\n";
my $file_result=qq(MYRESULT.xml);

take_node_out($file,$start_tag,$end_tag,$file_result);
print "Done\n";


sub take_node_out{
	  my ($file,$start_tag,$end_tag,$file_result)= @_;
    open DATA, "<$file";
    open FH, ">$file_result";
    while (<DATA>) {
          next if ($_ =~ /$start_tag/../$end_tag/);
          print FH "$_\n";
    }
    close DATA;
    close FH;
}

__END__

Looks like regex can't match start..to endtag,

Thanks




dmazzini
GSM/UMTS System and Telecomm Consultant

 
btw before post I put start and end tag "UTRAN relation", I used GSM relation as well with no luck.



dmazzini
GSM/UMTS System and Telecomm Consultant

 
Just curious why it did not work. I might be over simplyfing the tags, but here's what I did:

Code:
<xml>
<root>
<alpha>A B C D</alpha> 
<beta>E F G H</beta> 
<gama>I J K L</gama> 
</root>
</xml>

MODIFIED your script with diff file name; start/end tag pattern and chomp after while

Code:
#!/usr/bin/perl

my ($xmldata);
my $file=qq(./xmlFile.xml);

my $start_tag=qq(<alpha>);
my $end_tag= qq(</alpha>);

print "START:$start_tag ==>ENDTAG:$end_tag\n";
my $file_result=qq(MYRESULT.xml);

take_node_out($file,$start_tag,$end_tag,$file_result);
print "Done\n";


sub take_node_out{
      my ($file,$start_tag,$end_tag,$file_result)= @_;
    open DATA, "<$file";
    open FH, ">$file_result";
    while (<DATA>) {
        chomp $_;
          next if ($_ =~ /$start_tag/../$end_tag/);
          print FH "$_\n";
    }
    close DATA;
    close FH;
}

and the result file MYRESULT.xml has the following:

Code:
<xml>
<root>
<beta>E F G H</beta> 
<gama>I J K L</gama> 
</root>
</xml>

It might not be able to match the pattern that is being passed in your instance and printing out the pattern after while would help.
 
P.S: Following data with <un:UtranRelation> && </un:UtranRelation> as open/close tags respectively

Code:
<xml>
<root>
<un:UtranRelation>
<alpha>A B C D</alpha>
<beta>E F G H</beta> 
</un:UtranRelation>
<no:UtranRelation>
<gama>I J K L</gama> 
</no:UtranRelation>
</root>
</xml>

PRODUCES:

Code:
<xml>
<root>
<no:UtranRelation>
<gama>I J K L</gama> 
</no:UtranRelation>
</root>
</xml>
 
My bad max1x.

The start tag looks like
Code:
<un:UtranRelation id="UBQ04637A31">
end tag look like:
Code:
</un:UtranRelation>
That's why it was not matching regex. id is always variable so regex msut be changed.

Code:
ml version="1.0" encoding="UTF-8"?>
<bulkCmConfigDataFile xmlns:un="utranNrm.xsd" xmlns:xn="genericNrm.xsd"
xmlns:gn="geranNrm.xsd" xmlns="configData.xsd" xmlns:es="EricssonSpecificAttributes.6.2.xsd">
<fileHeader fileFormatVersion="32.615 V4.5" vendorName="Ericsson"/>
<configData dnPrefix="Undefined">                      
<xn:SubNetwork id = "ONRM_ROOT_MO_R">
<xn:SubNetwork id = "">
<xn:MeContext id = "">
<xn:ManagedElement id = "1">
<un:RncFunction id = "1">
<un:UtranCell id="UBQ06023A11">
<un:attributes>
<un:primarySchPower>-18</un:primarySchPower>
<un:maximumTransmissionPower>439</un:maximumTransmissionPower>
<un:primaryCpichPower>330</un:primaryCpichPower>
<un:primaryScramblingCode>245</un:primaryScramblingCode>
<un:uarfcnDl>2037</un:uarfcnDl>
<un:uarfcnUl>1812</un:uarfcnUl>
<un:localCellId>60231</un:localCellId>
<un:cId>60231</un:cId>
<un:userLabel>UBQ06023A11</un:userLabel>
<un:secondarySchPower>-35</un:secondarySchPower>
<un:bchPower>-31</un:bchPower>
<un:lac>52195</un:lac>
<es:compModeAdm>15</es:compModeAdm>
<es:iFHyst>6000</es:iFHyst>
<es:iFCong>621</es:iFCong>
<es:interFreqFddMeasIndicator>0</es:interFreqFddMeasIndicator>
<es:sRatSearch>4</es:sRatSearch>
<es:sIntraSearch>22</es:sIntraSearch>
<es:sInterSearch>21</es:sInterSearch>
<es:fachMeasOccaCycLenCoeff>4</es:fachMeasOccaCycLenCoeff>
<es:accessClassNBarred>0</es:accessCla1,vsDataExternalGsmNetwork=52155,vsDataExternalGsmCell=BQ04106A</es:externalGsmCellRef>
</es:vsDataGsmRelation>
</xn:attributes>
</xn:VsDataContainer>


<un:UtranRelation id="UBQ04201B31">
<un:attributes>
<un:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04201B31</un:adjacentCell>
</un:attributes>
<xn:VsDataContainer id="UBQ04201B31" modifier = "create">
<xn:attributes>
<xn:vsDataType>vsDataUtranRelation</xn:vsDataType>
<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2</xn:vsDataFormatVersion>
<es:vsDataUtranRelation>
<es:qOffset1sn>1</es:qOffset1sn>
<es:qOffset2sn>0</es:qOffset2sn>
<es:loadSharingCandidate>0</es:loadSharingCandidate>
<es:selectionPriority>14</es:selectionPriority>
<es:frequencyRelationType>0</es:frequencyRelationType>
<es:hcsSib11Config>
<es:hcsPrio>0</es:hcsPrio>
<es:qHcs>0</es:qHcs>
<es:penaltyTime>0</es:penaltyTime>
<es:temporaryOffset1>0</es:temporaryOffset1>
<es:temporaryOffset2>0</es:temporaryOffset2>
</es:hcsSib11Config>
<es:utranCellRef>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04201B31</es:utranCellRef>
<es:nodeRelationType>0</es:nodeRelationType>
</es:vsDataUtranRelation>
</xn:attributes>
</xn:VsDataContainer>
</un:UtranRelation>


<un:UtranRelation id="UBQ04637A21">
<un:attributes>
<un:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04637A21</un:adjacentCell>
</un:attributes>
<xn:VsDataContainer id="UBQ04637A21" modifier = "create">
<xn:attributes>
<xn:vsDataType>vsDataUtranRelation</xn:vsDataType>
<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2</xn:vsDataFormatVersion>
<es:vsDataUtranRelation>
<es:qOffset1sn>1</es:qOffset1sn>
<es:qOffset2sn>0</es:qOffset2sn>
<es:loadSharingCandidate>0</es:loadSharingCandidate>
<es:selectionPriority>12</es:selectionPriority>
<es:frequencyRelationType>0</es:frequencyRelationType>
<es:hcsSib11Config>
<es:hcsPrio>0</es:hcsPrio>
<es:qHcs>0</es:qHcs>
<es:penaltyTime>0</es:penaltyTime>
<es:temporaryOffset1>0</es:temporaryOffset1>
<es:temporaryOffset2>0</es:temporaryOffset2>
</es:hcsSib11Config>
<es:utranCellRef>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04637A21</es:utranCellRef>
<es:nodeRelationType>0</es:nodeRelationType>
</es:vsDataUtranRelation>
</xn:attributes>
</xn:VsDataContainer>
</un:UtranRelation>
<un:UtranRelation id="UBQ04637A31">
<un:attributes>
<un:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04637A31</un:adjacentCell>
</un:attributes>
<xn:VsDataContainer id="UBQ04637A31" modifier = "create">
<xn:attributes>
<xn:vsDataType>vsDataUtranRelation</xn:vsDataType>
<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2</xn:vsDataFormatVersion>
<es:vsDataUtranRelation>
<es:qOffset1sn>1</es:qOffset1sn>
<es:qOffset2sn>0</es:qOffset2sn>
<es:loadSharingCandidate>0</es:loadSharingCandidate>
<es:selectionPriority>11</es:selectionPriority>
<es:frequencyRelationType>0</es:frequencyRelationType>
<es:hcsSib11Config>
<es:hcsPrio>0</es:hcsPrio>
<es:qHcs>0</es:qHcs>
<es:penaltyTime>0</es:penaltyTime>
<es:temporaryOffset1>0</es:temporaryOffset1>
<es:temporaryOffset2>0</es:temporaryOffset2>
</es:hcsSib11Config>
<es:utranCellRef>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,UtranCell=UBQ04637A31</es:utranCellRef>
<es:nodeRelationType>0</es:nodeRelationType>
</es:vsDataUtranRelation>
</xn:attributes>
</xn:VsDataContainer>
</un:UtranRelation>
<un:UtranRelation id="UBQ04639C11">
<un:attributes>
<un:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC003,MeContext=NYRNC003,ManagedElement=1,RncFunction=1,UtranCell=UBQ04639C11</un:adjacentCell>
</un:attributes>
<xn:VsDataContainer id="UBQ04639C11" modifier = "create">
<xn:attributes>
<xn:vsDataType>vsDataUtranRelation</xn:vsDataType>
<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2</xn:vsDataFormatVersion>
<es:vsDataUtranRelation>
<es:qOffset1sn>1</es:qOffset1sn>
<es:qOffset2sn>0</es:qOffset2sn>
<es:loadSharingCandidate>0</es:loadSharingCandidate>
<es:selectionPriority>10</es:selectionPriority>
<es:frequencyRelationType>0</es:frequencyRelationType>
<es:hcsSib11Config>
<es:hcsPrio>0</es:hcsPrio>
<es:qHcs>0</es:qHcs>
<es:penaltyTime>0</es:penaltyTime>
<es:temporaryOffset1>0</es:temporaryOffset1>
<es:temporaryOffset2>0</es:temporaryOffset2>
</es:hcsSib11Config>
<es:utranCellRef>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,vsDataIurLink=301,vsDataExternalUtranCell=UBQ04639C11</es:utranCellRef>
<es:nodeRelationType>1</es:nodeRelationType>
</es:vsDataUtranRelation>
</xn:attributes>
</xn:VsDataContainer>
</un:UtranRelation>
<un:UtranRelation id="UBQ04639C31">
<un:attributes>
<un:adjacentCell>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC003,MeContext=NYRNC003,ManagedElement=1,RncFunction=1,UtranCell=UBQ04639C31</un:adjacentCell>
</un:attributes>
<xn:VsDataContainer id="UBQ04639C31" modifier = "create">
<xn:attributes>
<xn:vsDataType>vsDataUtranRelation</xn:vsDataType>
<xn:vsDataFormatVersion>EricssonSpecificAttributes.6.2</xn:vsDataFormatVersion>
<es:vsDataUtranRelation>
<es:qOffset1sn>1</es:qOffset1sn>
<es:qOffset2sn>0</es:qOffset2sn>
<es:loadSharingCandidate>0</es:loadSharingCandidate>
<es:selectionPriority>8</es:selectionPriority>
<es:frequencyRelationType>0</es:frequencyRelationType>
<es:hcsSib11Config>
<es:hcsPrio>0</es:hcsPrio>
<es:qHcs>0</es:qHcs>
<es:penaltyTime>0</es:penaltyTime>
<es:temporaryOffset1>0</es:temporaryOffset1>
<es:temporaryOffset2>0</es:temporaryOffset2>
</es:hcsSib11Config>
<es:utranCellRef>SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NYRNC004,MeContext=NYRNC004,ManagedElement=1,RncFunction=1,vsDataIurLink=301,vsDataExternalUtranCell=UBQ04639C31</es:utranCellRef>
<es:nodeRelationType>1</es:nodeRelationType>
</es:vsDataUtranRelation>
</xn:attributes>
</xn:VsDataContainer>
</un:UtranRelation>


Thanks!

dmazzini
GSM/UMTS System and Telecomm Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top