[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What's wrong with my code Version 1.0 (Altova XMLS

Subject: RE: What's wrong with my code Version 1.0 (Altova XMLSPY)
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Fri, 6 Jun 2008 20:39:29 +0530
RE:  What's wrong with my code Version 1.0 (Altova XMLS
Oh Got ...........Spell mistake NewsEnvelope

Thanks a lot for guidance again.





Best,

Pankaj Chaturvedi

============================================================================
================


-----Original Message-----
From: Pankaj Chaturvedi [mailto:pankaj.chaturvedi@xxxxxxxxx] 
Sent: Friday, June 06, 2008 8:33 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  What's wrong with my code Version 1.0 (Altova XMLSPY)

Thanks Florent.

I think I got my error. I should have gone with (as Vycheslav also
suggested)

<xsl:template match="/">
	<XMLFileCollection>
	<XMLFile>
		<issueinfo>
		<!-- Issue Level title Information -->
       <xsl:apply-templates select="NewsML/NewsEnvelop//Party"/>
       <xsl:apply-templates select="NewsML/NewsItem"/>


I am getting my NewsItem working correctly, but what happened to NewsEnvelop
elements, I am getting nothing:


	<xsl:template match="NewsML/NewsEnvelop//Party">
		<!--  Title  -->
	<title><xsl:value-of
select="string(./Property[@FomalName='NewsRoom']/@Value)"/></title>
	</xsl:template>

As per my understanding match path "NewsML/NewsEnvelop//Party" means I have
reached the <Party> element and now can access its corresponding elements,
text, attributes etc. Then why there is no title info (<title><xsl:value-of
select="string(./Property[@FomalName='NewsRoom']/@Value)"/></title>).

Any ideas. Please correct me if my understanding are wrong.
 


Best,

Pankaj Chaturvedi

============================================================================
================


>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>      
> ______________________________________________________________________
> _______ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente 
> http://mail.yahoo.fr

<HTML><BODY><P><hr size=1></P>
<P><STRONG>

Confidentiality Notice:" This message and any attachment(s) contained here
are information that is confidential, proprietary to IDS Infotech Ltd. and
its customers.
Contents may be privileged or otherwise protected by law. The information is
solely intended for the individual or the entity it is addressed to. If you
are not the intended recipient of this message, you are not authorized to
read, forward, print, retain, copy or disseminate this message or any part
of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer."

</STRONG></P></BODY></HTML>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.