Hi Vlastik,

all elements in <dim:field element="description"> element reside in a
specific namespace (xmlns="http://www.w3.org/1999/xhtml";), so you have to
take care about this namespace in your stylesheet.

So if you declare the namespace in the XSLT root element <xsl:stylesheet
xmlns:xhtml="http://www.w3.org/1999/xhtml";...

you will have access to 'something' in the following way:
 <xsl:value-of select="dim:[EMAIL PROTECTED]'description']/xhtml:something"/>

Best regards,
Andi


2008/6/3 Vlastimil Krejcir <[EMAIL PROTECTED]>:

>   Hi,
>
>   I would like to know if it is possible to do transformation of XML
> elements stored in dim:field element in DRI.
>
>   For example - I have such XML in collection's introductory_text field
> (dim:field element="description" in DRI).
>
> <dim:field element="description" mdschema="dc">
> <something>test</something>
> </dim:field>
>
> Is it possible to access tag "something" druring XSL transformation of DRI
> document? Like
>
> <xsl:value-of select="dim:[EMAIL PROTECTED]'description']/something" />
>
> It seems to me it is not possible. Am I right?
>
> Thanks a lot
>
> Vlastik
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to