XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 5th, 2004, 08:46 AM
subi subi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 subi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
can the usage of xsl predicates solve my problem?

Hi All,

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="checking.xsl"?>
<pub>
<Def serviceTemplateName="Siebel" serviceName="SiebelGetCampusCode" serviceVersion="1.0">
<Value type="Reference" deploymentGroup="Siebel" name="QueueName">OracleQueue</Value>
<Value type="Reference" deploymentGroup="Siebel" name="SP_dbPool">dbPool_Siebel</Value>
<Value type="Concrete" name="Executable">XXXXXXXXXX</Value>
<Value type="Concrete" name="PP_CLASSPATH">XXXXXXXX</Value>
<Value type="Concrete" name="SP_procCatalog">XXXXX</Value>
<Value type="Concrete" name="SP_procName">XXXXXXXX</Value>
<Value type="Concrete" name="SP_procSchema">XXXXXX</Value>
</Def>
<Environment name="PROD">
<DeploymentGroup name="Siebel">
<Deployment name="Siebel_PROD">
<Reference name="OracleQueue">AIA</Reference>
<Reference name="dbPool_Siebel">Siebel</Reference>
</Deployment>
</DeploymentGroup>
</Environment>
</pub>

my requirement is like this :

Under pub/Def, i have "Value " nodes whose "type" attribute is either Concrete or Reference.
i need to consider only those nodes whose "type " attribute is "reference" and i shud get the node value for these nodes.

each of these node values exists as "name" attributes under Environment/DeploymentGroup/Deployment/Reference. i shud detect this node and retreive its node value.

the relationship i am trying to arrive at is something like this:
SP_dbPool: Siebel
QueueName: AIA

can somebody help me on this?

thnks,
subi..

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > can the usage of xsl predicates solve my problem?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT