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

Re: Getting values for attributes from a different XML

Subject: Re: Getting values for attributes from a different XML.
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Wed, 8 Oct 2003 12:53:44 -0700 (PDT)
retrieve values xsl
Thanks much Wendell. I guess this is exactly I am
trying to achieve. Appreciate your help.
Regards,
Abhi
--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Abhi,
> 
> At 12:41 PM 10/8/2003, you wrote:
> >What I would like to know is that is there a way to
> >get the values of these paramters from another XML
> >file dynamically. I mean depending on the attribute
> >values in the XML I want to conver to PDF I would
> like
> >to get values from another XML for the above
> mentioned
> >attributes. I think this is like opening a XML file
> >through XSL and accessing the content in the XML.
> >I would like to know if this is feasible and if
> anyone
> >has tried something similar.
> 
> Yes it is, and yes they (we) have.
> 
> Check out the document() function. Retrieve your
> external configuration 
> into a node-set with an expression like:
> 
> <xsl:variable name="styles"
> select="document('styles.xml')"/>
> 
> And then traverse it to retrieve its values with
> expressions like
> 
> <fo:block
> space-before="{$styles/*/chapter/space-before}"/>
> 
> Cheers,
> Wendell
> 
> 
>
======================================================================
> Wendell Piez                           
> mailto:wapiez@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.               
> http://www.mulberrytech.com
> 17 West Jefferson Street                    Direct
> Phone: 301/315-9635
> Suite 207                                         
> Phone: 301/315-9631
> Rockville, MD  20850                                
> Fax: 301/315-8285
>
----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing
> in SGML and XML
>
======================================================================
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.