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

XSLT Path

Subject: XSLT Path
From: "oknam park" <ponda7777@xxxxxxxxxxx>
Date: Mon, 19 Jun 2006 23:57:02 +0000
xslt path
Hi All,

I need your help.

I need to XSLT Path mapping.

So, If it contains the value from the scheme in GEM,
it matches with the value for toolfor matches with the rdf value in this URL (http://purl.org/gem/instance/GEM-MED/),
it needs to extract the URI under rdf:about such as <rdf:Description rdf:about="http://purl.oclc.org/gem/instance/GEM-MED/#Students">


Here is my xml instance file:
<audience>
<toolfor scheme="GEM">
Students</toolfor>
<beneficiary scheme="GEM">
Students
</beneficiary>
</audience>

Here is my rdf expection:
<dcq:mediator rdf:resource="http://purl.oclc.org/gem/instance/GEM-MED/#Students"/>


Here is my current xslt:
<xsl:template match="audience">
?<dcq:mediator>
    <xsl:choose>
     ?<xsl:when test="contains (toolfor/@scheme,'GEM')">
<xsl:value-of select="normalize-space(toolfor)"/>
      </xsl:when>
      <xsl:otherwise>
<xsl:value-of select="normalize-space(toolfor)"/>
   ?</xsl:otherwise>
 ?</xsl:choose>
</dcq:mediator>
<gemq:beneficiary>
    <xsl:value-of select="normalize-space(beneficiary)"/>
</gemq:beneficiary>
</xsl:template>

Could you help me?

I'm deperated for your help.

Thanks a lot,

Best regards,
Oknam Park

Current Thread
  • XSLT Path
    • oknam park - 19 Jun 2006 23:57:33 -0000 <=

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.