Our new website
Fri, 8 Feb 2008 15:41:54 -0800
This website is for artist, freelancers, programmers, writers, translators. All who is looking for work.
If you are a skilled professional use page "Add profile" to create your profile.
Also this website is for those who is looking for skilled professional.
If you are looking for a professional use page "Pr ...
|
Separating Attribute Sting
Fri, 8 Feb 2008 04:27:56 -0800 (PST)
Hello,
I have an attribute string that I want to select but seperate at the
same time.
So something like:
<something stuff="_aaaaaa _bbbbbb _ccccc">
I need to select each string starting with '_' and there could be one
to many sub-strings.
Is there something that could do this for me, this seems to ...
|
Replace attribute value
Fri, 8 Feb 2008 12:27:02 +0100
Hi,
I would like to replace attribute values in an XML file if it matches
another value.
Given this XML fragment :
<Users>
<User fistName = "Olivier" advancedViewing="VRAI"/>
<User fistName = "Olivier" advancedViewing="FAUX"/>
</Users>
It should become :
<Users>
<User fistName = "Olivier" advancedView ...
|
Simple Question on Special Charaters in Attributes (Newbie)
Thu, 7 Feb 2008 11:32:04 -0800 (PST)
Hi all,
I'm trying to select an attribute called xmi:id in an xslt.
<xsl:value-of select="@xmi:d"/>
but won't work with ':' in the select.
Would someone be bale to help me out?
Also, are these known as special characters?
Thanks,
C ...
|
search all elements?
Thu, 7 Feb 2008 11:49:39 +0100
Dear Sir,
I have below filter function using XSLT .
---------------------------------------------------------------------------------------
<xsl:apply-templates mode="search"
select="agendas/agenda[contains(translate(intro,$UC,$lc), $Keyword) or
contains(translate(title,$UC,$lc), $Keyword)]">
</xsl ...
|
xpath to select all the elements in XML with one exception only
Thu, 7 Feb 2008 01:52:47 -0800 (PST)
Hi
I need an efficient xpath 2.0 expressions to apply it to the following
input xml
<tag1>
<tag2>
......... many elements here
</tag2>
<tag3>
<tag4> a number here</tag4>
......... many elements here
</tag3>
<tag3>
<tag4> > a number here </tag4 ...
|
distinct output
Thu, 7 Feb 2008 00:19:52 -0800 (PST)
Hello,
I have a xml like this:
<root>
<item name="111">
<subitem name="aaa">
<subitem name="bbb">
</item>....
Now I want to output the item names for some subitems.
example: I want all item names with a subitem "aaa"
I can do that. Now comes the but:
I want them only be outputted ...
|
|
|
Implementing a "State Machine" in XSL?
Wed, 06 Feb 2008 19:47:46 +0100
Hello,
i need to use XSL to truncate a HTML fragment, keeping the tags intact.
So for example, i want to truncate this HTML to include ~15 visible
characters:
<b>This is a <span style="color: #888">very long</span> Text</b>
The result should be:
<b>This is a <span style="color: #888">very </span></b>
...
|
Non-breaking space won't display properly in one instance
Wed, 6 Feb 2008 08:11:00 -0800
I have an XSLT file I can use in my app along with XML-formatted data to spit
out HTML 'til the cows come home without any problems. However, when using
it on another machine, all of my non-breaking spaces (I'm using in the XSL)
end up being displayed as Ã? (ASCII 143) in the HTML it generates. To the
be ...
|
Simple select question (newbie to xsl+xml) - Selecting from just one
node at a time
Wed, 6 Feb 2008 08:03:40 -0800 (PST)
Hi all,
I have several nodes that are identical. They each have a properties
X:
<nodes>
<node>
<X>one</X>
<X>two</X>
</node>
<node>
<X>aaa</X>
<X>bbb</X>
<node>
</nodes>
In my xsl I have
<xsl:for-each select="//blah/nodes">
<nodes>
</node>
</xsl:for-each>
...
|