IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Showing content based on attribute Options · View
Rince2
Posted: Friday, July 25, 2008 12:06:49 AM
Rank: Member

Joined: 7/24/2008
Posts: 10
Location: Germany
Hi. Beginner question: I have some xml code like

<custom fields>
<custom name="a">Data1</custom>
<custom name="b">Data2</custom>
<custom name="c">Data3</custom>
</custom fields>

I only want to display the content of the <custom> node with attribute name = "b" ("Data2") - how do I this?

Regards, Rince
vlad
Posted: Friday, July 25, 2008 12:02:45 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Hi. You need to use a condition. See conditions.sps as an example how to use them.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.