On Fri, 23 Jan 2004, satish wrote:

> All,
>
> I need some help with XML parsing and retrieving values.
>
> My XML element is as follows
>
> <entity eid="5769562">
>   <name>test</name>
>   <address>123 main st</address>
> </entity>
>
> How do I x:out the value of eid , For example 5769562 in this case.

If you've parsed the above XML into a variable named 'xml', you would use
this:

    <x:out select="$xml/entity/@eid"/>

--
Martin Cooper


>
> Please help me out.
>
> Thanks
> satish
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to