xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] List Item Query


Subject: [xsl] List Item Query
From: "Sheryl Cia" <lyrehscg@xxxxxxxxxxx>
Date: Mon, 04 Mar 2002 03:12:38 +0000


Hi Guys,


Having this xml file:

<list>
<item>&bull; Text1 here....</item>
<item>&bull; Text2 here....</item>
<item>&bull; Text3 here....</item>
</list>

<list>
<item>(1) Text1 here....</item>
<item>(2) Text2 here....</item>
<item>(3) Text3 here....</item>
</list>

How can i read the values &bull; or (1) of the item tag so that i
can test which list tag should be applied?
If i read the value &bull; i can render it in html as:
<ul>
<li>Text1 here....</li>
<li>Text2 here....</li>
<li>Text3 here....</li>
</ul>
The value &bull; from the <item> tag shall be removed.

The same with the numbered list.
<ol class="">
<li>Text1 here....</li>
<li>Text2 here....</li>
<li>Text3 here....</li>
</ol>

Kindly please provide me a concrete example.

thanks,
yey :)



_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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




Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor